[−][src]Enum sv::util::Error
Standard error type used in the library
Variants
BadArgument(String)
An argument provided is invalid
BadData(String)
The data given is not valid
FromBase58Error(FromBase58Error)
Base58 string could not be decoded
FromHexError(FromHexError)
Hex string could not be decoded
FromUtf8Error(FromUtf8Error)
UTF8 parsing error
IllegalState(String)
The state is not valid
IOError(Error)
Standard library IO error
ParseIntError(ParseIntError)
Error parsing an integer
ScriptError(String)
Error evaluating the script
Secp256k1Error(Error)
Error in the Secp256k1 library
Timeout
The operation timed out
UnspecifiedRingError
An unknown error in the Ring library
Unsupported(String)
The data or functionality is not supported by this library
Trait Implementations
impl From<FromBase58Error> for Error
[src]
impl From<FromBase58Error> for Error
fn from(e: FromBase58Error) -> Self
[src]
fn from(e: FromBase58Error) -> Self
impl From<FromHexError> for Error
[src]
impl From<FromHexError> for Error
fn from(e: FromHexError) -> Self
[src]
fn from(e: FromHexError) -> Self
impl From<FromUtf8Error> for Error
[src]
impl From<FromUtf8Error> for Error
fn from(e: FromUtf8Error) -> Self
[src]
fn from(e: FromUtf8Error) -> Self
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<ParseIntError> for Error
[src]
impl From<ParseIntError> for Error
fn from(e: ParseIntError) -> Self
[src]
fn from(e: ParseIntError) -> Self
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<Unspecified> for Error
[src]
impl From<Unspecified> for Error
fn from(_: Unspecified) -> Self
[src]
fn from(_: Unspecified) -> Self
impl Debug for Error
[src]
impl Debug for Error
impl Display for Error
[src]
impl Display for Error
impl Error for Error
[src]
impl Error for Error
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
impl<T> ToString for T where
T: Display + ?Sized,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self