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