Enum blockbuster::error::BlockbusterError
source · pub enum BlockbusterError {
InstructionParsingError,
IOError(String),
DeserializationError,
MissingBubblegumEventData,
InvalidDataLength,
UnknownAccountDiscriminator,
InvalidAccountType,
FailedToDeserializeToMasterEdition,
UninitializedAccount,
AccountTypeNotImplemented,
CustomDeserializationError(String),
}Variants§
InstructionParsingError
IOError(String)
DeserializationError
MissingBubblegumEventData
InvalidDataLength
UnknownAccountDiscriminator
InvalidAccountType
FailedToDeserializeToMasterEdition
UninitializedAccount
AccountTypeNotImplemented
CustomDeserializationError(String)
Trait Implementations§
source§impl Debug for BlockbusterError
impl Debug for BlockbusterError
source§impl Display for BlockbusterError
impl Display for BlockbusterError
source§impl Error for BlockbusterError
impl Error for BlockbusterError
1.30.0 · 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<Error> for BlockbusterError
impl From<Error> for BlockbusterError
source§impl From<PlerkleSerializationError> for BlockbusterError
impl From<PlerkleSerializationError> for BlockbusterError
source§fn from(err: PlerkleSerializationError) -> Self
fn from(err: PlerkleSerializationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for BlockbusterError
impl Send for BlockbusterError
impl Sync for BlockbusterError
impl Unpin for BlockbusterError
impl UnwindSafe for BlockbusterError
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