pub enum RoutingEncryptionError {
Custody(KeyError),
NotEstablished,
}Expand description
Why a scoped write could not get the Store key its rows are routed under.
Variants§
Custody(KeyError)
Custody could not produce the keyring — a wrong passphrase, an
unreadable backing store. Distinct from Self::NotEstablished, which
is a legitimate absence rather than a failure.
NotEstablished
Custody unlocked no keyring. A scoped write routes each row under the Store key, so it cannot proceed before one is established.
Trait Implementations§
Source§impl Debug for RoutingEncryptionError
impl Debug for RoutingEncryptionError
Source§impl Display for RoutingEncryptionError
impl Display for RoutingEncryptionError
Source§impl Error for RoutingEncryptionError
impl Error for RoutingEncryptionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for RoutingEncryptionError
impl !RefUnwindSafe for RoutingEncryptionError
impl Send for RoutingEncryptionError
impl Sync for RoutingEncryptionError
impl Unpin for RoutingEncryptionError
impl UnsafeUnpin for RoutingEncryptionError
impl !UnwindSafe for RoutingEncryptionError
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