#[non_exhaustive]pub enum TrainingWarning {
#[non_exhaustive] UndefinedLtpRequest {
lane: u8,
value: u8,
count: u32,
in_use: bool,
},
}Expand description
A non-fatal anomaly seen during a training attempt.
Warnings do not change the outcome: the attempt went on as the procedure says. They report sink behaviour a caller may want to know about, without reading the trace. Repeats are merged, so a sink that posts the same anomaly on every round produces one warning with a count; the trace has each occurrence.
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.
#[non_exhaustive]UndefinedLtpRequest
A lane requested a value the specification leaves undefined (0x9–0xD). LTS:3 left the lane as it was.
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.
Trait Implementations§
Source§impl Clone for TrainingWarning
impl Clone for TrainingWarning
Source§fn clone(&self) -> TrainingWarning
fn clone(&self) -> TrainingWarning
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 TrainingWarning
Source§impl Debug for TrainingWarning
impl Debug for TrainingWarning
impl Eq for TrainingWarning
Source§impl PartialEq for TrainingWarning
impl PartialEq for TrainingWarning
impl StructuralPartialEq for TrainingWarning
Auto Trait Implementations§
impl Freeze for TrainingWarning
impl RefUnwindSafe for TrainingWarning
impl Send for TrainingWarning
impl Sync for TrainingWarning
impl Unpin for TrainingWarning
impl UnsafeUnpin for TrainingWarning
impl UnwindSafe for TrainingWarning
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