pub enum MutexOwner {
TaskHandle(TaskHandle),
Free,
}
Variants§
TaskHandle(TaskHandle)
Free
Trait Implementations§
Source§impl Clone for MutexOwner
impl Clone for MutexOwner
Source§fn clone(&self) -> MutexOwner
fn clone(&self) -> MutexOwner
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 MutexOwner
impl Debug for MutexOwner
Source§impl Display for MutexOwner
impl Display for MutexOwner
Source§impl Hash for MutexOwner
impl Hash for MutexOwner
Source§impl Ord for MutexOwner
impl Ord for MutexOwner
Source§fn cmp(&self, other: &MutexOwner) -> Ordering
fn cmp(&self, other: &MutexOwner) -> 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 PartialEq for MutexOwner
impl PartialEq for MutexOwner
Source§impl PartialOrd for MutexOwner
impl PartialOrd for MutexOwner
impl Copy for MutexOwner
impl Eq for MutexOwner
impl StructuralPartialEq for MutexOwner
Auto Trait Implementations§
impl Freeze for MutexOwner
impl RefUnwindSafe for MutexOwner
impl Send for MutexOwner
impl Sync for MutexOwner
impl Unpin for MutexOwner
impl UnwindSafe for MutexOwner
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