#[non_exhaustive]pub enum WithCheckOptionViolation {
Other(String),
}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.
Implementations§
Trait Implementations§
Source§impl Clone for WithCheckOptionViolation
impl Clone for WithCheckOptionViolation
Source§fn clone(&self) -> WithCheckOptionViolation
fn clone(&self) -> WithCheckOptionViolation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WithCheckOptionViolation
impl Debug for WithCheckOptionViolation
Source§impl FromStr for WithCheckOptionViolation
impl FromStr for WithCheckOptionViolation
Source§impl Hash for WithCheckOptionViolation
impl Hash for WithCheckOptionViolation
Source§impl PartialEq for WithCheckOptionViolation
impl PartialEq for WithCheckOptionViolation
impl Eq for WithCheckOptionViolation
impl StructuralPartialEq for WithCheckOptionViolation
Auto Trait Implementations§
impl Freeze for WithCheckOptionViolation
impl RefUnwindSafe for WithCheckOptionViolation
impl Send for WithCheckOptionViolation
impl Sync for WithCheckOptionViolation
impl Unpin for WithCheckOptionViolation
impl UnwindSafe for WithCheckOptionViolation
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