Enum libp2p_broadcast::HandlerEvent
source · [−]pub enum HandlerEvent {
Rx(Message),
Tx,
}
Expand description
Transmission between the OneShotHandler
and the BroadcastHandler
.
Variants
Rx(Message)
We received a Message
from a remote.
Tx
We successfully sent a Message
.
Trait Implementations
sourceimpl Debug for HandlerEvent
impl Debug for HandlerEvent
Auto Trait Implementations
impl RefUnwindSafe for HandlerEvent
impl Send for HandlerEvent
impl Sync for HandlerEvent
impl Unpin for HandlerEvent
impl UnwindSafe for HandlerEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more