pub enum EndpointEvent<'a> {
Nothing,
MsgFormatErr(Error),
Ping,
Unhandled(EncodedMessage<'a>),
}Expand description
Events that are generated on the endpoint-level
Variants§
Nothing
No real event happened
MsgFormatErr(Error)
A message was received which did not pass the EncodedMessage::check_msg_format test
Ping
A “ping” message (empty CON) was received. It has been automatically answered with a RST message.
Unhandled(EncodedMessage<'a>)
We have received a message that could not be handled in any meaningful way. It has been automatically answered with a RST message.
Trait Implementations§
Source§impl<'a> Clone for EndpointEvent<'a>
impl<'a> Clone for EndpointEvent<'a>
Source§fn clone(&self) -> EndpointEvent<'a>
fn clone(&self) -> EndpointEvent<'a>
Returns a duplicate 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 moreSource§impl<'a> Debug for EndpointEvent<'a>
impl<'a> Debug for EndpointEvent<'a>
Source§impl<'a> PartialEq for EndpointEvent<'a>
impl<'a> PartialEq for EndpointEvent<'a>
impl<'a> Eq for EndpointEvent<'a>
impl<'a> StructuralPartialEq for EndpointEvent<'a>
Auto Trait Implementations§
impl<'a> !Freeze for EndpointEvent<'a>
impl<'a> !RefUnwindSafe for EndpointEvent<'a>
impl<'a> Send for EndpointEvent<'a>
impl<'a> !Sync for EndpointEvent<'a>
impl<'a> Unpin for EndpointEvent<'a>
impl<'a> UnwindSafe for EndpointEvent<'a>
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