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 copy 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<ObjectProperties<C>> for ObjectProperties<C>
impl<C: PartialEq + ObjectClassExt> PartialEq<ObjectProperties<C>> for ObjectProperties<C>
source§fn eq(&self, other: &ObjectProperties<C>) -> bool
fn eq(&self, other: &ObjectProperties<C>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<C: PartialOrd + ObjectClassExt> PartialOrd<ObjectProperties<C>> for ObjectProperties<C>
impl<C: PartialOrd + ObjectClassExt> PartialOrd<ObjectProperties<C>> for ObjectProperties<C>
source§fn partial_cmp(&self, other: &ObjectProperties<C>) -> Option<Ordering>
fn partial_cmp(&self, other: &ObjectProperties<C>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more