pub enum NFTError {
NFTState(StateError),
Messaging(MessagingError),
Actor(ActorError),
Encoding(Error),
}Variants§
Trait Implementations§
source§impl Error for NFTError
impl Error for NFTError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<ActorError> for NFTError
impl From<ActorError> for NFTError
source§fn from(source: ActorError) -> Self
fn from(source: ActorError) -> Self
Converts to this type from the input type.
source§impl From<Error> for NFTError
impl From<Error> for NFTError
source§fn from(source: EncodingError) -> Self
fn from(source: EncodingError) -> Self
Converts to this type from the input type.
source§impl From<MessagingError> for NFTError
impl From<MessagingError> for NFTError
source§fn from(source: MessagingError) -> Self
fn from(source: MessagingError) -> Self
Converts to this type from the input type.
source§impl From<StateError> for NFTError
impl From<StateError> for NFTError
source§fn from(source: StateError) -> Self
fn from(source: StateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for NFTError
impl Send for NFTError
impl Sync for NFTError
impl Unpin for NFTError
impl !UnwindSafe for NFTError
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