Enum solana_gossip::gossip_error::GossipError [−][src]
pub enum GossipError { DuplicateNodeInstance, DuplicateShredError(Error), Io(Error), RecvTimeoutError(RecvTimeoutError), SendError, Serialize(Box<ErrorKind>), }
Variants
DuplicateShredError(Error)
Io(Error)
RecvTimeoutError(RecvTimeoutError)
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for GossipError
impl Send for GossipError
impl Sync for GossipError
impl Unpin for GossipError
impl !UnwindSafe for GossipError
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Wrap the input message T
in a tonic::Request
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V