pub enum Error {
NoCache,
FileLocked(PathBuf),
Io(Error),
TryFromSlice(TryFromSliceError),
Core(Error),
Signature(SignatureError),
Ecdsa(Error),
Elliptic(Error),
Address(Error),
Json(Error),
Base58(Error),
}
Expand description
Errors generated by the node library.
Variants§
NoCache
Error generated if we could not determine a cache directory.
FileLocked(PathBuf)
Error generated attempting acquire a lock on a file that is already locked.
Io(Error)
Error generated by the std::io module.
TryFromSlice(TryFromSliceError)
Error generated converting from a slice.
Core(Error)
Error generated by the core library.
Signature(SignatureError)
Error generate by the signature library.
Ecdsa(Error)
Error generate by the ECDSA library.
Elliptic(Error)
Error generate by the elliptic curve library.
Address(Error)
Error generated by the address library.
Json(Error)
Error generated by the JSON library.
Base58(Error)
Error generated by the Base58 library.
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<SignatureError> for Error
impl From<SignatureError> for Error
source§fn from(source: SignatureError) -> Self
fn from(source: SignatureError) -> Self
Converts to this type from the input type.
source§impl From<TryFromSliceError> for Error
impl From<TryFromSliceError> for Error
source§fn from(source: TryFromSliceError) -> Self
fn from(source: TryFromSliceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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