[−][src]Enum kync::ErrorKind
The error kind
Variants
PermissionDenied
An operation is not permitted (at least not without providing authentication data)
Fields of PermissionDenied
requires_authentication: bool
AccessDenied
An 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
IoError
An IO-error occurred
InvalidData
Invalid data
ItemNotFound
There are no crypto items to list (because the plugin has no key store) or there is no matching algorithm/key available to encrypt/decrypt the capsule
InvalidParameter
An invalid parameter was passed
Fields of InvalidParameter
index: u64
OperationCancelled
The operation was canceled by the user
OperationTimedOut
The operation timed out (e.g. took longer than 90s)
OtherPluginError
An unspecified plugin error occurred
Fields of OtherPluginError
errno: u64
Unsupported
The operation is unsupported
Trait Implementations
impl Eq for ErrorKind
[src]
impl Copy for ErrorKind
[src]
impl PartialEq<ErrorKind> for ErrorKind
[src]
impl Clone for ErrorKind
[src]
fn clone(&self) -> ErrorKind
[src]
default fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl From<ErrorKind> for KyncError
[src]
impl Debug for ErrorKind
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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>,