Enum solana_sdk::transport::TransportError
source · [−]pub enum TransportError {
IoError(Error),
TransactionError(TransactionError),
Custom(String),
}
Variants
IoError(Error)
TransactionError(TransactionError)
Custom(String)
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for TransportError
impl Send for TransportError
impl Sync for TransportError
impl Unpin for TransportError
impl !UnwindSafe for TransportError
Blanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self
into a dynamic trait object of Fail
.
Mutably borrows from an owned value. Read more