pub enum FindKeyResult {
NotFound,
Unavailable,
Key(Arc<dyn Cipher>),
}Variants§
NotFound
No key registered with that key_id.
The key is known, but not available for use (cannot be unwrapped).
Key(Arc<dyn Cipher>)
Auto Trait Implementations§
impl Freeze for FindKeyResult
impl !RefUnwindSafe for FindKeyResult
impl Send for FindKeyResult
impl Sync for FindKeyResult
impl Unpin for FindKeyResult
impl UnsafeUnpin for FindKeyResult
impl !UnwindSafe for FindKeyResult
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