#[non_exhaustive]pub enum SinkClear<S> {
NotRequested,
NothingToClear,
SkippedSinkGone,
Cleared,
Failed(S),
}Expand description
What became of the sink’s TMDS_Config in a tear-down.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotRequested
The settings do not clear it (clear_sink: false, the default).
NothingToClear
The link set nothing to clear: a plain link, or a sink without SCDC.
SkippedSinkGone
The caller said the sink is gone, so nothing was written.
Cleared
It was cleared.
Failed(S)
The write failed: a warning, as tear-down went on.
Implementations§
Trait Implementations§
impl<S> Copy for SinkClear<S>where
S: Copy,
impl<S> Eq for SinkClear<S>where
S: Eq,
impl<S> StructuralPartialEq for SinkClear<S>where
S: PartialEq,
Auto Trait Implementations§
impl<S> Forget for SinkClear<S>
impl<S> Freeze for SinkClear<S>where
S: Freeze,
impl<S> Move for SinkClear<S>
impl<S> RefUnwindSafe for SinkClear<S>where
S: RefUnwindSafe,
impl<S> Send for SinkClear<S>where
S: Send,
impl<S> Sync for SinkClear<S>where
S: Sync,
impl<S> Unpin for SinkClear<S>where
S: Unpin,
impl<S> UnsafeUnpin for SinkClear<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for SinkClear<S>where
S: UnwindSafe,
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