pub enum WaitForMode {
Wait,
Signal,
Lock,
Unlock,
}Expand description
The supported wait-for operation modes.
Variants§
Wait
Wait for the next signal on the named channel.
Signal
Signal all current plain waiters on the named channel.
Lock
Acquire the named server-local lock, waiting in FIFO order when held.
Unlock
Release the named server-local lock.
Trait Implementations§
Source§impl Clone for WaitForMode
impl Clone for WaitForMode
Source§fn clone(&self) -> WaitForMode
fn clone(&self) -> WaitForMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WaitForMode
impl Debug for WaitForMode
Source§impl<'de> Deserialize<'de> for WaitForMode
impl<'de> Deserialize<'de> for WaitForMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WaitForMode
impl PartialEq for WaitForMode
Source§fn eq(&self, other: &WaitForMode) -> bool
fn eq(&self, other: &WaitForMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WaitForMode
impl Serialize for WaitForMode
impl Copy for WaitForMode
impl Eq for WaitForMode
impl StructuralPartialEq for WaitForMode
Auto Trait Implementations§
impl Freeze for WaitForMode
impl RefUnwindSafe for WaitForMode
impl Send for WaitForMode
impl Sync for WaitForMode
impl Unpin for WaitForMode
impl UnsafeUnpin for WaitForMode
impl UnwindSafe for WaitForMode
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