pub enum SeverityArg {
Warn,
Error,
}Variants§
Trait Implementations§
Source§impl Clone for SeverityArg
impl Clone for SeverityArg
Source§fn clone(&self) -> SeverityArg
fn clone(&self) -> SeverityArg
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 SeverityArg
Source§impl Debug for SeverityArg
impl Debug for SeverityArg
Source§impl From<SeverityArg> for Severity
impl From<SeverityArg> for Severity
Source§fn from(arg: SeverityArg) -> Self
fn from(arg: SeverityArg) -> Self
Converts to this type from the input type.
Source§impl ValueEnum for SeverityArg
impl ValueEnum for SeverityArg
Auto Trait Implementations§
impl Freeze for SeverityArg
impl RefUnwindSafe for SeverityArg
impl Send for SeverityArg
impl Sync for SeverityArg
impl Unpin for SeverityArg
impl UnsafeUnpin for SeverityArg
impl UnwindSafe for SeverityArg
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