pub enum WarningType {
None,
Security,
Sanity,
Any,
}
Expand description
Type variant or warning
- None : Default value
- Security : Security related warning
- Sanity : Warning about possible errors
- Any : Both warnings
Variants§
None
Default wrapping type
Security
About possibly dangerous behaviours
Sanity
About possibly unintended behaviours
Any
Both warnings
Trait Implementations§
Source§impl FromStr for WarningType
impl FromStr for WarningType
Source§impl PartialEq for WarningType
impl PartialEq for WarningType
impl Eq for WarningType
impl StructuralPartialEq for WarningType
Auto Trait Implementations§
impl Freeze for WarningType
impl RefUnwindSafe for WarningType
impl Send for WarningType
impl Sync for WarningType
impl Unpin for WarningType
impl UnwindSafe for WarningType
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