pub struct CountSemProp {
pub name: String<{ _ }>,
pub creator: OsalId,
pub value: i32,
}Expand description
Properties of a counting semaphore, returned by CountSem::get_info.
Fields§
§name: String<{ _ }>The registered name of the counting semaphore.
creator: OsalIdThe OSAL ID of the task that created the semaphore.
value: i32The current count of the semaphore.
Trait Implementations§
Source§impl Clone for CountSemProp
impl Clone for CountSemProp
Source§fn clone(&self) -> CountSemProp
fn clone(&self) -> CountSemProp
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 moreAuto Trait Implementations§
impl Freeze for CountSemProp
impl RefUnwindSafe for CountSemProp
impl Send for CountSemProp
impl Sync for CountSemProp
impl Unpin for CountSemProp
impl UnsafeUnpin for CountSemProp
impl UnwindSafe for CountSemProp
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