pub enum BriefcaseError {
Storage(StorageError),
Cost(CostError),
Serialization(Error),
InvalidInput(String),
}Variants§
Trait Implementations§
Source§impl Debug for BriefcaseError
impl Debug for BriefcaseError
Source§impl Display for BriefcaseError
impl Display for BriefcaseError
Source§impl Error for BriefcaseError
impl Error for BriefcaseError
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<CostError> for BriefcaseError
impl From<CostError> for BriefcaseError
Source§impl From<Error> for BriefcaseError
impl From<Error> for BriefcaseError
Source§impl From<StorageError> for BriefcaseError
impl From<StorageError> for BriefcaseError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for BriefcaseError
impl !UnwindSafe for BriefcaseError
impl Forget for BriefcaseError
impl Freeze for BriefcaseErrorwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ErrorImpl is !null: Freeze,
PhantomData<ErrorImpl>: Freeze,
impl Move for BriefcaseError
impl Send for BriefcaseError
impl Sync for BriefcaseError
impl Unpin for BriefcaseError
impl UnsafeUnpin for BriefcaseErrorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ErrorImpl is !null: UnsafeUnpin,
PhantomData<ErrorImpl>: UnsafeUnpin,
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