#[non_exhaustive]pub enum WarningKind {
MalformedOrUnrelatedPacket,
WrongToken,
UntrackedReply,
}Expand description
Category for a non-fatal ClientEvent::Warning.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
A received datagram could not be decoded as a relevant IRTT packet.
WrongToken
A decoded packet used a token that does not match the open session.
UntrackedReply
A decoded reply could not be matched to tracked probe state.
Trait Implementations§
Source§impl Clone for WarningKind
impl Clone for WarningKind
impl Copy for WarningKind
Source§impl Debug for WarningKind
impl Debug for WarningKind
impl Eq for WarningKind
Source§impl PartialEq for WarningKind
impl PartialEq for WarningKind
impl StructuralPartialEq for WarningKind
Auto Trait Implementations§
impl Freeze for WarningKind
impl RefUnwindSafe for WarningKind
impl Send for WarningKind
impl Sync for WarningKind
impl Unpin for WarningKind
impl UnsafeUnpin for WarningKind
impl UnwindSafe for WarningKind
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