Enum solana_gossip::crds::GossipRoute
source · pub enum GossipRoute<'a> {
LocalMessage,
PullRequest,
PullResponse,
PushMessage(&'a Pubkey),
}
Variants§
Trait Implementations§
source§impl<'a> Clone for GossipRoute<'a>
impl<'a> Clone for GossipRoute<'a>
source§fn clone(&self) -> GossipRoute<'a>
fn clone(&self) -> GossipRoute<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<'a> Copy for GossipRoute<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for GossipRoute<'a>
impl<'a> Send for GossipRoute<'a>
impl<'a> Sync for GossipRoute<'a>
impl<'a> Unpin for GossipRoute<'a>
impl<'a> UnwindSafe for GossipRoute<'a>
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request