#[repr(u32)]pub enum ObjectType {
Show 16 variants
Undefined = 0,
Task = 1,
Queue = 2,
CountSem = 3,
BinSem = 4,
Mutex = 5,
Stream = 6,
Dir = 7,
TimeBase = 8,
TimerCb = 9,
Module = 10,
FileSys = 11,
Console = 12,
CondVar = 13,
User = 16,
Unknown(u32),
}Expand description
The type of an OSAL object.
Variants§
Undefined = 0
An undefined or invalid object type.
Task = 1
An OSAL task.
Queue = 2
An OSAL message queue.
CountSem = 3
An OSAL counting semaphore.
BinSem = 4
An OSAL binary semaphore.
Mutex = 5
An OSAL mutex.
Stream = 6
An OSAL stream (file descriptor).
Dir = 7
An OSAL directory handle.
TimeBase = 8
An OSAL time base.
TimerCb = 9
An OSAL timer callback.
Module = 10
An OSAL loadable module.
FileSys = 11
An OSAL file system.
Console = 12
An OSAL console device.
CondVar = 13
An OSAL condition variable.
User = 16
A user-defined object type.
Unknown(u32)
An unknown or unhandled object type.
Trait Implementations§
Source§impl Clone for ObjectType
impl Clone for ObjectType
Source§fn clone(&self) -> ObjectType
fn clone(&self) -> ObjectType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObjectType
impl Debug for ObjectType
Source§impl From<u32> for ObjectType
impl From<u32> for ObjectType
Source§impl Into<u32> for ObjectType
impl Into<u32> for ObjectType
Source§impl PartialEq for ObjectType
impl PartialEq for ObjectType
impl Copy for ObjectType
impl Eq for ObjectType
impl StructuralPartialEq for ObjectType
Auto Trait Implementations§
impl Freeze for ObjectType
impl RefUnwindSafe for ObjectType
impl Send for ObjectType
impl Sync for ObjectType
impl Unpin for ObjectType
impl UnsafeUnpin for ObjectType
impl UnwindSafe for ObjectType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more