pub enum SinkPresence {
Present,
Gone,
}Expand description
Whether the sink is still there, as the caller knows from hotplug.
A fact about one call, not a setting. Exhaustive: present or not.
Variants§
Trait Implementations§
Source§impl Clone for SinkPresence
impl Clone for SinkPresence
Source§fn clone(&self) -> SinkPresence
fn clone(&self) -> SinkPresence
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 moreimpl Copy for SinkPresence
Source§impl Debug for SinkPresence
impl Debug for SinkPresence
impl Eq for SinkPresence
Source§impl Hash for SinkPresence
impl Hash for SinkPresence
Source§impl PartialEq for SinkPresence
impl PartialEq for SinkPresence
impl StructuralPartialEq for SinkPresence
Auto Trait Implementations§
impl Forget for SinkPresence
impl Freeze for SinkPresence
impl Move for SinkPresence
impl RefUnwindSafe for SinkPresence
impl Send for SinkPresence
impl Sync for SinkPresence
impl Unpin for SinkPresence
impl UnsafeUnpin for SinkPresence
impl UnwindSafe for SinkPresence
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