[−]Enum themis::ErrorKind
A list of Themis error categories.
This enumeration is used by Error
type, returned by most Themis functions. Some error kinds
are specific to particular functions, and some are used internally by the library.
Variants
General failure.
Some input parameter has incorrect value.
Could not allocate memory.
The provided buffer is too small to fit the result.
Input data is corrupted.
Input data contains invalid signature.
Operation not supported.
Attempt to use Secure Session before completing key exchange.
SessionTransportError(TransportError)
Transport layer returned error.
Could not retrieve a public key corresponding to peer ID.
Attempt to use Secure Comparator before completing nonce exchange.
Trait Implementations
impl Debug for ErrorKind
impl Eq for ErrorKind
impl<'_> PartialEq<&'_ ErrorKind> for ErrorKind
impl PartialEq<ErrorKind> for ErrorKind
impl<'_> PartialEq<ErrorKind> for &'_ ErrorKind
Auto Trait Implementations
impl !RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl !UnwindSafe for ErrorKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,