pub enum ProtocolEvent {
Associated(PeerAssociation),
Disassociated {
peer: Address,
reason: DisassociateReason,
},
Payload {
from: Address,
pdu: AkkaPdu,
},
}Variants§
Associated(PeerAssociation)
Handshake completed with this peer.
Disassociated
Peer disassociated (graceful or quarantine).
Payload
Inbound payload PDU.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProtocolEvent
impl RefUnwindSafe for ProtocolEvent
impl Send for ProtocolEvent
impl Sync for ProtocolEvent
impl Unpin for ProtocolEvent
impl UnsafeUnpin for ProtocolEvent
impl UnwindSafe for ProtocolEvent
Blanket Implementations§
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