pub enum ByteFormatError {
Core(Error),
InvalidBech32(EncodeError),
}Variants§
Core(Error)
InvalidBech32(EncodeError)
Trait Implementations§
Source§impl Clone for ByteFormatError
impl Clone for ByteFormatError
Source§fn clone(&self) -> ByteFormatError
fn clone(&self) -> ByteFormatError
Returns a duplicate 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 ByteFormatError
impl Debug for ByteFormatError
Source§impl Display for ByteFormatError
impl Display for ByteFormatError
Source§impl Error for ByteFormatError
impl Error for ByteFormatError
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<ByteFormatError> for FormatError
impl From<ByteFormatError> for FormatError
Source§fn from(source: ByteFormatError) -> Self
fn from(source: ByteFormatError) -> Self
Converts to this type from the input type.
Source§impl From<EncodeError> for ByteFormatError
impl From<EncodeError> for ByteFormatError
Source§fn from(source: EncodeError) -> Self
fn from(source: EncodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ByteFormatError
impl RefUnwindSafe for ByteFormatError
impl Send for ByteFormatError
impl Sync for ByteFormatError
impl Unpin for ByteFormatError
impl UnsafeUnpin for ByteFormatError
impl UnwindSafe for ByteFormatError
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