pub enum RnsError {
OutOfMemory,
InvalidArgument,
IncorrectSignature,
IncorrectHash,
CryptoError,
PacketError,
ConnectionError,
TimeSourceUnavailable,
}Variants§
OutOfMemory
InvalidArgument
IncorrectSignature
IncorrectHash
CryptoError
PacketError
ConnectionError
No wall-clock time source is available. Returned by
timestamp-dependent operations (announce timestamps, ratchet
rotation) in no_std builds before the embedding application has
installed one via ratchets::set_time_override.
Trait Implementations§
Source§impl Error for RnsError
impl Error for RnsError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for RnsError
impl RefUnwindSafe for RnsError
impl Send for RnsError
impl Sync for RnsError
impl Unpin for RnsError
impl UnsafeUnpin for RnsError
impl UnwindSafe for RnsError
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