pub enum FuelBehaviourEventwhere
Behaviour<BlockedPeers>: NetworkBehaviour,
Behaviour: NetworkBehaviour,
Behaviour: NetworkBehaviour,
Behaviour: NetworkBehaviour,
Behaviour: NetworkBehaviour,
Behaviour: NetworkBehaviour,
Behaviour<PostcardCodec>: NetworkBehaviour,{
BlockedPeer(<Behaviour<BlockedPeers> as NetworkBehaviour>::ToSwarm),
Gossipsub(<Behaviour as NetworkBehaviour>::ToSwarm),
Heartbeat(<Behaviour as NetworkBehaviour>::ToSwarm),
Identify(<Behaviour as NetworkBehaviour>::ToSwarm),
PeerReport(<Behaviour as NetworkBehaviour>::ToSwarm),
Discovery(<Behaviour as NetworkBehaviour>::ToSwarm),
RequestResponse(<Behaviour<PostcardCodec> as NetworkBehaviour>::ToSwarm),
}
Expand description
NetworkBehaviour::ToSwarm
produced by FuelBehaviour.
Variants§
BlockedPeer(<Behaviour<BlockedPeers> as NetworkBehaviour>::ToSwarm)
Gossipsub(<Behaviour as NetworkBehaviour>::ToSwarm)
Heartbeat(<Behaviour as NetworkBehaviour>::ToSwarm)
Identify(<Behaviour as NetworkBehaviour>::ToSwarm)
PeerReport(<Behaviour as NetworkBehaviour>::ToSwarm)
Discovery(<Behaviour as NetworkBehaviour>::ToSwarm)
RequestResponse(<Behaviour<PostcardCodec> as NetworkBehaviour>::ToSwarm)
Trait Implementations§
source§impl Debug for FuelBehaviourEventwhere
Behaviour<BlockedPeers>: NetworkBehaviour,
Behaviour: NetworkBehaviour,
Behaviour: NetworkBehaviour,
Behaviour: NetworkBehaviour,
Behaviour: NetworkBehaviour,
Behaviour: NetworkBehaviour,
Behaviour<PostcardCodec>: NetworkBehaviour,
<Behaviour<BlockedPeers> as NetworkBehaviour>::ToSwarm: Debug,
<Behaviour as NetworkBehaviour>::ToSwarm: Debug,
<Behaviour as NetworkBehaviour>::ToSwarm: Debug,
<Behaviour as NetworkBehaviour>::ToSwarm: Debug,
<Behaviour as NetworkBehaviour>::ToSwarm: Debug,
<Behaviour as NetworkBehaviour>::ToSwarm: Debug,
<Behaviour<PostcardCodec> as NetworkBehaviour>::ToSwarm: Debug,
impl Debug for FuelBehaviourEventwhere
Behaviour<BlockedPeers>: NetworkBehaviour,
Behaviour: NetworkBehaviour,
Behaviour: NetworkBehaviour,
Behaviour: NetworkBehaviour,
Behaviour: NetworkBehaviour,
Behaviour: NetworkBehaviour,
Behaviour<PostcardCodec>: NetworkBehaviour,
<Behaviour<BlockedPeers> as NetworkBehaviour>::ToSwarm: Debug,
<Behaviour as NetworkBehaviour>::ToSwarm: Debug,
<Behaviour as NetworkBehaviour>::ToSwarm: Debug,
<Behaviour as NetworkBehaviour>::ToSwarm: Debug,
<Behaviour as NetworkBehaviour>::ToSwarm: Debug,
<Behaviour as NetworkBehaviour>::ToSwarm: Debug,
<Behaviour<PostcardCodec> as NetworkBehaviour>::ToSwarm: Debug,
Auto Trait Implementations§
impl !Freeze for FuelBehaviourEvent
impl !RefUnwindSafe for FuelBehaviourEvent
impl Send for FuelBehaviourEvent
impl Sync for FuelBehaviourEvent
impl Unpin for FuelBehaviourEvent
impl !UnwindSafe for FuelBehaviourEvent
Blanket Implementations§
source§impl<T> AnyDebug for T
impl<T> AnyDebug for T
source§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<S> IteratorOverTable for S
impl<S> IteratorOverTable for S
source§fn iter_all<M>(
&self,
direction: Option<IterDirection>,
) -> BoxedIter<'_, Result<(<M as Mappable>::OwnedKey, <M as Mappable>::OwnedValue), Error>>where
M: Mappable,
Self: IterableTable<M>,
fn iter_all<M>(
&self,
direction: Option<IterDirection>,
) -> BoxedIter<'_, Result<(<M as Mappable>::OwnedKey, <M as Mappable>::OwnedValue), Error>>where
M: Mappable,
Self: IterableTable<M>,
Returns an iterator over the all entries in the table.
source§fn iter_all_by_prefix<M, P>(
&self,
prefix: Option<P>,
) -> BoxedIter<'_, Result<(<M as Mappable>::OwnedKey, <M as Mappable>::OwnedValue), Error>>
fn iter_all_by_prefix<M, P>( &self, prefix: Option<P>, ) -> BoxedIter<'_, Result<(<M as Mappable>::OwnedKey, <M as Mappable>::OwnedValue), Error>>
Returns an iterator over the all entries in the table with the specified prefix.
source§fn iter_all_by_start<M>(
&self,
start: Option<&<M as Mappable>::Key>,
direction: Option<IterDirection>,
) -> BoxedIter<'_, Result<(<M as Mappable>::OwnedKey, <M as Mappable>::OwnedValue), Error>>where
M: Mappable,
Self: IterableTable<M>,
fn iter_all_by_start<M>(
&self,
start: Option<&<M as Mappable>::Key>,
direction: Option<IterDirection>,
) -> BoxedIter<'_, Result<(<M as Mappable>::OwnedKey, <M as Mappable>::OwnedValue), Error>>where
M: Mappable,
Self: IterableTable<M>,
Returns an iterator over the all entries in the table after a specific start key.
source§fn iter_all_filtered<M, P>(
&self,
prefix: Option<P>,
start: Option<&<M as Mappable>::Key>,
direction: Option<IterDirection>,
) -> BoxedIter<'_, Result<(<M as Mappable>::OwnedKey, <M as Mappable>::OwnedValue), Error>>
fn iter_all_filtered<M, P>( &self, prefix: Option<P>, start: Option<&<M as Mappable>::Key>, direction: Option<IterDirection>, ) -> BoxedIter<'_, Result<(<M as Mappable>::OwnedKey, <M as Mappable>::OwnedValue), Error>>
Returns an iterator over the all entries in the table with a prefix after a specific start key.