[−]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
Fail
General failure.
InvalidParameter
Some input parameter has incorrect value.
NoMemory
Could not allocate memory.
BufferTooSmall
The provided buffer is too small to fit the result.
DataCorrupt
Input data is corrupted.
InvalidSignature
Input data contains invalid signature.
NotSupported
Operation not supported.
SessionKeyAgreementNotFinished
Attempt to use Secure Session before completing key exchange.
SessionTransportError(TransportError)
Transport layer returned error.
SessionGetPublicKeyForIdError
Could not retrieve a public key corresponding to peer ID.
CompareNotReady
Attempt to use Secure Comparator before completing nonce exchange.
Trait Implementations
impl PartialEq<ErrorKind> for ErrorKind
fn eq(&self, other: &ErrorKind) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<'_> PartialEq<&'_ ErrorKind> for ErrorKind
fn eq(&self, other: &&ErrorKind) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<'_> PartialEq<ErrorKind> for &'_ ErrorKind
fn eq(&self, other: &ErrorKind) -> bool
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for ErrorKind
impl Debug for ErrorKind
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, 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>,