pub enum WrapLimit {
Allow,
Warn,
Refuse,
}Expand description
Whether a key that has already wrapped wraps keys may wrap another.
Variants§
Allow
Wrap.
Warn
Wrap, and warn that the key needs rotating.
Refuse
Refuse the write until the key is rotated.
Trait Implementations§
impl Copy for WrapLimit
impl Eq for WrapLimit
impl StructuralPartialEq for WrapLimit
Auto Trait Implementations§
impl Freeze for WrapLimit
impl RefUnwindSafe for WrapLimit
impl Send for WrapLimit
impl Sync for WrapLimit
impl Unpin for WrapLimit
impl UnsafeUnpin for WrapLimit
impl UnwindSafe for WrapLimit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.