pub enum KeyDerivationError {
DirectoryPath {
requested: StoragePath,
},
OutsideScope {
requested: StoragePath,
},
}Expand description
A requested path cannot yield a file content key.
Variants§
DirectoryPath
Directory seeds are internal and cannot be derived through the public API.
Fields
§
requested: StoragePathRequested directory path.
OutsideScope
No bundled key covers the requested file.
Fields
§
requested: StoragePathRequested file path.
Trait Implementations§
Source§impl Clone for KeyDerivationError
impl Clone for KeyDerivationError
Source§impl Debug for KeyDerivationError
impl Debug for KeyDerivationError
Source§impl Display for KeyDerivationError
impl Display for KeyDerivationError
impl Eq for KeyDerivationError
Source§impl Error for KeyDerivationError
impl Error for KeyDerivationError
1.30.0 · 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()
Source§impl PartialEq for KeyDerivationError
impl PartialEq for KeyDerivationError
impl StructuralPartialEq for KeyDerivationError
Auto Trait Implementations§
impl Freeze for KeyDerivationError
impl RefUnwindSafe for KeyDerivationError
impl Send for KeyDerivationError
impl Sync for KeyDerivationError
impl Unpin for KeyDerivationError
impl UnsafeUnpin for KeyDerivationError
impl UnwindSafe for KeyDerivationError
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