pub enum KeyScheduleError {
LibraryError(LibraryError),
InvalidState(ErrorState),
CryptoError(CryptoError),
}Available on 32-bit or 64-bit only.
Expand description
Key schedule error
Variants§
LibraryError(LibraryError)
See LibraryError for more details.
InvalidState(ErrorState)
See ErrorState for more details.
CryptoError(CryptoError)
See CryptoError for more details.
Trait Implementations§
Source§impl Clone for KeyScheduleError
impl Clone for KeyScheduleError
Source§fn clone(&self) -> KeyScheduleError
fn clone(&self) -> KeyScheduleError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeyScheduleError
impl Debug for KeyScheduleError
Source§impl Display for KeyScheduleError
impl Display for KeyScheduleError
Source§impl Error for KeyScheduleError
impl Error for KeyScheduleError
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 From<CryptoError> for KeyScheduleError
impl From<CryptoError> for KeyScheduleError
Source§fn from(source: CryptoError) -> Self
fn from(source: CryptoError) -> Self
Converts to this type from the input type.
Source§impl From<ErrorState> for KeyScheduleError
impl From<ErrorState> for KeyScheduleError
Source§fn from(source: ErrorState) -> Self
fn from(source: ErrorState) -> Self
Converts to this type from the input type.
Source§impl<StorageError> From<KeyScheduleError> for WelcomeError<StorageError>
impl<StorageError> From<KeyScheduleError> for WelcomeError<StorageError>
Source§fn from(source: KeyScheduleError) -> Self
fn from(source: KeyScheduleError) -> Self
Converts to this type from the input type.
Source§impl From<LibraryError> for KeyScheduleError
impl From<LibraryError> for KeyScheduleError
Source§fn from(source: LibraryError) -> Self
fn from(source: LibraryError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for KeyScheduleError
impl PartialEq for KeyScheduleError
impl StructuralPartialEq for KeyScheduleError
Auto Trait Implementations§
impl Freeze for KeyScheduleError
impl RefUnwindSafe for KeyScheduleError
impl Send for KeyScheduleError
impl Sync for KeyScheduleError
impl Unpin for KeyScheduleError
impl UnsafeUnpin for KeyScheduleError
impl UnwindSafe for KeyScheduleError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more