pub enum ModeDecision {
Allow,
Deny {
reason: Cow<'static, str>,
},
}Variants§
Trait Implementations§
Source§impl Clone for ModeDecision
impl Clone for ModeDecision
Source§fn clone(&self) -> ModeDecision
fn clone(&self) -> ModeDecision
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 moreSource§impl Debug for ModeDecision
impl Debug for ModeDecision
Source§impl PartialEq for ModeDecision
impl PartialEq for ModeDecision
Source§fn eq(&self, other: &ModeDecision) -> bool
fn eq(&self, other: &ModeDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ModeDecision
impl StructuralPartialEq for ModeDecision
Auto Trait Implementations§
impl Freeze for ModeDecision
impl RefUnwindSafe for ModeDecision
impl Send for ModeDecision
impl Sync for ModeDecision
impl Unpin for ModeDecision
impl UnsafeUnpin for ModeDecision
impl UnwindSafe for ModeDecision
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