pub enum OptionsError {
Shape(String),
Key(String),
}Expand description
Rejection of an open() options document, before the engine is ever touched.
Variants§
Shape(String)
A malformed option: wrong JSON type, unknown enum member, out-of-range number.
Key(String)
Unusable key material — reported to JS as a cipher error, not a schema one.
Trait Implementations§
Source§impl Debug for OptionsError
impl Debug for OptionsError
impl Eq for OptionsError
Source§impl PartialEq for OptionsError
impl PartialEq for OptionsError
impl StructuralPartialEq for OptionsError
Auto Trait Implementations§
impl Freeze for OptionsError
impl RefUnwindSafe for OptionsError
impl Send for OptionsError
impl Sync for OptionsError
impl Unpin for OptionsError
impl UnsafeUnpin for OptionsError
impl UnwindSafe for OptionsError
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<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.