Enum solana_sdk::transport::TransportError [−][src]
pub enum TransportError { IoError(Error), TransactionError(TransactionError), Custom(String), }
Variants
Tuple Fields of IoError
0: Error
Tuple Fields of TransactionError
Tuple Fields of Custom
0: 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
type Output = T
type Output = T
Should always be Self