#[non_exhaustive]pub enum SourceVersionWrite {
EveryBringUp,
IfSinkVersion1,
WhenScrambling,
Never,
}Expand description
When the source writes Source_Version before a bring-up.
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.
EveryBringUp
On every bring-up to a sink with SCDC (the default, chosen: no two sources agree).
IfSinkVersion1
Only when Sink_Version reads 1; a failed read writes nothing.
WhenScrambling
Only on a scrambled link, as the smaller of the sink’s version and 1, and only to a sink reporting a non-zero version.
Never
Never: for a sink that misbehaves on the write, and for compliance and diagnostic tools.
Trait Implementations§
Source§impl Clone for SourceVersionWrite
impl Clone for SourceVersionWrite
Source§fn clone(&self) -> SourceVersionWrite
fn clone(&self) -> SourceVersionWrite
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 SourceVersionWrite
Source§impl Debug for SourceVersionWrite
impl Debug for SourceVersionWrite
Source§impl Default for SourceVersionWrite
impl Default for SourceVersionWrite
Source§fn default() -> SourceVersionWrite
fn default() -> SourceVersionWrite
Returns the “default value” for a type. Read more
impl Eq for SourceVersionWrite
Source§impl Hash for SourceVersionWrite
impl Hash for SourceVersionWrite
Source§impl PartialEq for SourceVersionWrite
impl PartialEq for SourceVersionWrite
impl StructuralPartialEq for SourceVersionWrite
Auto Trait Implementations§
impl Forget for SourceVersionWrite
impl Freeze for SourceVersionWrite
impl Move for SourceVersionWrite
impl RefUnwindSafe for SourceVersionWrite
impl Send for SourceVersionWrite
impl Sync for SourceVersionWrite
impl Unpin for SourceVersionWrite
impl UnsafeUnpin for SourceVersionWrite
impl UnwindSafe for SourceVersionWrite
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