Enum solana_gossip::weighted_shuffle::WeightedShuffleError [−][src]
pub enum WeightedShuffleError<T> { NegativeWeight(T), SumOverflow, }
Variants
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for WeightedShuffleError<T> where
T: RefUnwindSafe,
impl<T> Send for WeightedShuffleError<T> where
T: Send,
impl<T> Sync for WeightedShuffleError<T> where
T: Sync,
impl<T> Unpin for WeightedShuffleError<T> where
T: Unpin,
impl<T> UnwindSafe for WeightedShuffleError<T> where
T: UnwindSafe,
Blanket Implementations
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