pub enum EngineEvent {
Accepted(AcceptedPacketEvent),
Rejected(PolicyRejectedPacketEvent),
Malformed(MalformedPacketEvent),
}Expand description
Engine processing event for accepted, rejected, or malformed packets.
Variants§
Accepted(AcceptedPacketEvent)
Packet parsed and passed policy.
Rejected(PolicyRejectedPacketEvent)
Packet parsed but failed policy.
Malformed(MalformedPacketEvent)
Packet failed the codec boundary.
Implementations§
Source§impl EngineEvent
impl EngineEvent
Sourcepub const fn kind(&self) -> EngineEventKind
pub const fn kind(&self) -> EngineEventKind
Returns the stable event kind.
Trait Implementations§
Source§impl Clone for EngineEvent
impl Clone for EngineEvent
Source§fn clone(&self) -> EngineEvent
fn clone(&self) -> EngineEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EngineEvent
impl Debug for EngineEvent
Source§impl PartialEq for EngineEvent
impl PartialEq for EngineEvent
Source§fn eq(&self, other: &EngineEvent) -> bool
fn eq(&self, other: &EngineEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EngineEvent
Auto Trait Implementations§
impl Freeze for EngineEvent
impl RefUnwindSafe for EngineEvent
impl Send for EngineEvent
impl Sync for EngineEvent
impl Unpin for EngineEvent
impl UnsafeUnpin for EngineEvent
impl UnwindSafe for EngineEvent
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