Enum solana_core::consensus::TowerError [−][src]
pub enum TowerError {
IoError(Error),
SerializeError(Error),
InvalidSignature,
WrongTower(String),
TooOldTower(Slot, Slot),
FatallyInconsistent(&'static str),
HardFork(Slot),
}Variants
Tuple Fields of IoError
0: ErrorTuple Fields of SerializeError
0: ErrorTuple Fields of WrongTower
0: StringTuple Fields of FatallyInconsistent
0: &'static strImplementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TowerError
impl Send for TowerError
impl Sync for TowerError
impl Unpin for TowerError
impl !UnwindSafe for TowerError
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