pub struct ObjectProperties<C: ObjectClassExt> { /* private fields */ }
Implementations§
Source§impl<C: ObjectClassExt> ObjectProperties<C>
impl<C: ObjectClassExt> ObjectProperties<C>
pub const UNNAMED_OBJECT: &'static str = UNNAMED_OBJECT
pub fn name(&self) -> Option<&str>
pub fn display_name(&self) -> &str
pub fn class(&self) -> ObjectClass
Source§impl ObjectProperties<QueueObjectClass>
impl ObjectProperties<QueueObjectClass>
Sourcepub fn queue_length(&self) -> u8
pub fn queue_length(&self) -> u8
Current number of message in queue
Source§impl ObjectProperties<SemaphoreObjectClass>
impl ObjectProperties<SemaphoreObjectClass>
pub fn state(&self) -> SemaphoreState
Source§impl ObjectProperties<MutexObjectClass>
impl ObjectProperties<MutexObjectClass>
pub fn owner(&self) -> MutexOwner
Source§impl ObjectProperties<TaskObjectClass>
impl ObjectProperties<TaskObjectClass>
pub fn current_priority(&self) -> TaskPriority
pub fn state(&self) -> TaskState
Source§impl ObjectProperties<IsrObjectClass>
impl ObjectProperties<IsrObjectClass>
pub fn priority(&self) -> IsrPriority
Trait Implementations§
Source§impl<C: Clone + ObjectClassExt> Clone for ObjectProperties<C>
impl<C: Clone + ObjectClassExt> Clone for ObjectProperties<C>
Source§fn clone(&self) -> ObjectProperties<C>
fn clone(&self) -> ObjectProperties<C>
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<C: Debug + ObjectClassExt> Debug for ObjectProperties<C>
impl<C: Debug + ObjectClassExt> Debug for ObjectProperties<C>
Source§impl<C: ObjectClassExt> Display for ObjectProperties<C>
impl<C: ObjectClassExt> Display for ObjectProperties<C>
Source§impl<C: Hash + ObjectClassExt> Hash for ObjectProperties<C>
impl<C: Hash + ObjectClassExt> Hash for ObjectProperties<C>
Source§impl<C: Ord + ObjectClassExt> Ord for ObjectProperties<C>
impl<C: Ord + ObjectClassExt> Ord for ObjectProperties<C>
Source§fn cmp(&self, other: &ObjectProperties<C>) -> Ordering
fn cmp(&self, other: &ObjectProperties<C>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<C: PartialEq + ObjectClassExt> PartialEq for ObjectProperties<C>
impl<C: PartialEq + ObjectClassExt> PartialEq for ObjectProperties<C>
Source§impl<C: PartialOrd + ObjectClassExt> PartialOrd for ObjectProperties<C>
impl<C: PartialOrd + ObjectClassExt> PartialOrd for ObjectProperties<C>
impl<C: Eq + ObjectClassExt> Eq for ObjectProperties<C>
impl<C: ObjectClassExt> StructuralPartialEq for ObjectProperties<C>
Auto Trait Implementations§
impl<C> Freeze for ObjectProperties<C>
impl<C> RefUnwindSafe for ObjectProperties<C>where
C: RefUnwindSafe,
impl<C> Send for ObjectProperties<C>where
C: Send,
impl<C> Sync for ObjectProperties<C>where
C: Sync,
impl<C> Unpin for ObjectProperties<C>where
C: Unpin,
impl<C> UnwindSafe for ObjectProperties<C>where
C: UnwindSafe,
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