#[non_exhaustive]pub enum QuicEvent {
Message(Vec<u8>),
KeyChange(KeyChange),
}Expand description
QUIC events that should be handled by the caller.
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.
Message(Vec<u8>)
These bytes should be handled as an unencrypted TLS handshake message.
KeyChange(KeyChange)
The key material should be changed.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for QuicEvent
impl !UnwindSafe for QuicEvent
impl Freeze for QuicEvent
impl Send for QuicEvent
impl Sync for QuicEvent
impl Unpin for QuicEvent
impl UnsafeUnpin for QuicEvent
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