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