pub enum TransactionParseError {
TryteStringEmpty,
NineSectionMissing,
}
Expand description
This type provides some errors that can occur
Variants§
TryteStringEmpty
This error occurs if the string being parsed is empty
NineSectionMissing
This error occurs when the block of sixteen 9s at index 2279 isn’t present in the provided string
Trait Implementations§
Source§impl Clone for TransactionParseError
impl Clone for TransactionParseError
Source§fn clone(&self) -> TransactionParseError
fn clone(&self) -> TransactionParseError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TransactionParseError
impl Debug for TransactionParseError
Source§impl Display for TransactionParseError
impl Display for TransactionParseError
Source§impl Fail for TransactionParseError
impl Fail for TransactionParseError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreimpl Copy for TransactionParseError
Auto Trait Implementations§
impl Freeze for TransactionParseError
impl RefUnwindSafe for TransactionParseError
impl Send for TransactionParseError
impl Sync for TransactionParseError
impl Unpin for TransactionParseError
impl UnwindSafe for TransactionParseError
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