Enum
ParseSeedQrError
pub enum ParseSeedQrError {
InvalidUtf8(Utf8Error),
InvalidWordIndex(ParseIntError),
WordIndexOutOfRange(usize),
InvalidMnemonic(Error),
}Variants
InvalidUtf8(Utf8Error)
InvalidWordIndex(ParseIntError)
WordIndexOutOfRange(usize)
InvalidMnemonic(Error)
Trait Implementations
impl Clone for ParseSeedQrError
impl Clone for ParseSeedQrError
fn clone(&self) -> ParseSeedQrError
fn clone(&self) -> ParseSeedQrError
Returns a duplicate of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Debug for ParseSeedQrError
impl Debug for ParseSeedQrError
impl Display for ParseSeedQrError
impl Display for ParseSeedQrError
impl Error for ParseSeedQrError
impl Error for ParseSeedQrError
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.0fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
1.0.0fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
impl From<Error> for ParseSeedQrError
impl From<Error> for ParseSeedQrError
fn from(source: Bip39Error) -> Self
fn from(source: Bip39Error) -> Self
Converts to this type from the input type.
impl From<ParseIntError> for ParseSeedQrError
impl From<ParseIntError> for ParseSeedQrError
fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
impl From<Utf8Error> for ParseSeedQrError
impl From<Utf8Error> for ParseSeedQrError
fn from(source: Utf8Error) -> Self
fn from(source: Utf8Error) -> Self
Converts to this type from the input type.