pub enum FormattingError {
Fmt(Error),
Sbor(String),
}
Variants§
Trait Implementations§
Source§impl Clone for FormattingError
impl Clone for FormattingError
Source§fn clone(&self) -> FormattingError
fn clone(&self) -> FormattingError
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 FormattingError
impl Debug for FormattingError
Source§impl From<Error> for FormattingError
impl From<Error> for FormattingError
Source§fn from(e: Error) -> FormattingError
fn from(e: Error) -> FormattingError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FormattingError
impl RefUnwindSafe for FormattingError
impl Send for FormattingError
impl Sync for FormattingError
impl Unpin for FormattingError
impl UnwindSafe for FormattingError
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