[−][src]Enum kync::ErrorKind
The error kind
Variants
PermissionDeniedAn operation is not permitted (at least not without providing authentication data)
Fields of PermissionDenied
requires_authentication: boolAccessDeniedAn authentication error occurred (e.g. bad PIN, password etc.); if the amount of retries
left is None, this means that there is no limit
Fields of AccessDenied
BufferErrorThe provided buffer is too small and cannot be resized
Fields of BufferError
required_size: u64IoErrorAn IO-error occurred
InvalidDataInvalid data
NoKeyAvailableThere are no capsule keys to list (because the plugin has no key store) or there is no valid key available to decrypt the capsule
InvalidParameterAn invalid parameter was passed
Fields of InvalidParameter
index: u64OperationCancelledThe operation was canceled by the user
OperationTimedOutThe operation timed out (e.g. took longer than 90s)
OtherPluginErrorAn unspecified plugin error occurred
Fields of OtherPluginError
errno: u64UnsupportedThe operation is unsupported
Trait Implementations
impl Clone for ErrorKind[src]
fn clone(&self) -> ErrorKind[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq<ErrorKind> for ErrorKind[src]
impl Eq for ErrorKind[src]
impl Copy for ErrorKind[src]
impl From<ErrorKind> for KyncError[src]
impl Debug for ErrorKind[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> From for T[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,