#[non_exhaustive]pub enum SourceVersionSkip {
NoScdc,
Never,
NotScrambled,
#[non_exhaustive] SinkVersion {
version: u8,
},
SinkVersionUnread,
}Expand description
Why Source_Version was not written.
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.
NoScdc
The sink has no SCDC.
Never
The setting never writes it.
NotScrambled
The setting writes it only on a scrambled link, and this one is not.
#[non_exhaustive]SinkVersion
The sink’s Sink_Version rules the write out under the setting: not 1 for
IfSinkVersion1, 0 for WhenScrambling.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
SinkVersionUnread
The Sink_Version read the setting needs failed, so nothing was written.
Trait Implementations§
Source§impl Clone for SourceVersionSkip
impl Clone for SourceVersionSkip
Source§fn clone(&self) -> SourceVersionSkip
fn clone(&self) -> SourceVersionSkip
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 SourceVersionSkip
Source§impl Debug for SourceVersionSkip
impl Debug for SourceVersionSkip
impl Eq for SourceVersionSkip
Source§impl Hash for SourceVersionSkip
impl Hash for SourceVersionSkip
Source§impl PartialEq for SourceVersionSkip
impl PartialEq for SourceVersionSkip
impl StructuralPartialEq for SourceVersionSkip
Auto Trait Implementations§
impl Forget for SourceVersionSkip
impl Freeze for SourceVersionSkip
impl Move for SourceVersionSkip
impl RefUnwindSafe for SourceVersionSkip
impl Send for SourceVersionSkip
impl Sync for SourceVersionSkip
impl Unpin for SourceVersionSkip
impl UnsafeUnpin for SourceVersionSkip
impl UnwindSafe for SourceVersionSkip
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