pub enum InscriptionParseError {
Txid(HexToArrayError),
Character(char),
ContentType,
InscriptionIdLength(usize),
UnexpectedOpcode,
UnexpectedPushBytes,
BadDataSyntax,
CharacterSeparator(char),
Index(ParseIntError),
ParsedEnvelope(String),
NotOrdinal,
NotBrc20,
}
Expand description
Inscription parsing errors.
Variants§
Txid(HexToArrayError)
Character(char)
ContentType
InscriptionIdLength(usize)
UnexpectedOpcode
UnexpectedPushBytes
BadDataSyntax
CharacterSeparator(char)
Index(ParseIntError)
ParsedEnvelope(String)
NotOrdinal
NotBrc20
Trait Implementations§
Source§impl Debug for InscriptionParseError
impl Debug for InscriptionParseError
Source§impl Display for InscriptionParseError
impl Display for InscriptionParseError
Source§impl Error for InscriptionParseError
impl Error for InscriptionParseError
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<HexToArrayError> for InscriptionParseError
impl From<HexToArrayError> for InscriptionParseError
Source§fn from(source: HexToArrayError) -> Self
fn from(source: HexToArrayError) -> Self
Converts to this type from the input type.
Source§impl From<InscriptionParseError> for OrdError
impl From<InscriptionParseError> for OrdError
Source§fn from(source: InscriptionParseError) -> Self
fn from(source: InscriptionParseError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for InscriptionParseError
impl From<ParseIntError> for InscriptionParseError
Source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InscriptionParseError
impl RefUnwindSafe for InscriptionParseError
impl Send for InscriptionParseError
impl Sync for InscriptionParseError
impl Unpin for InscriptionParseError
impl UnwindSafe for InscriptionParseError
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