pub enum ProcessedPacket {
None,
HardReset {
session_id: SessionIdBytes,
},
HardResetAck,
TlsData(Vec<Bytes>),
Data(Bytes),
SoftReset,
}Expand description
Result of processing a packet
Variants§
None
No action needed
HardReset
Hard reset from client
Fields
§
session_id: SessionIdBytesSession ID for the new connection
HardResetAck
Hard reset acknowledged
TlsData(Vec<Bytes>)
TLS records to process
Data(Bytes)
Decrypted data packet
SoftReset
Soft reset (rekey)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ProcessedPacket
impl RefUnwindSafe for ProcessedPacket
impl Send for ProcessedPacket
impl Sync for ProcessedPacket
impl Unpin for ProcessedPacket
impl UnwindSafe for ProcessedPacket
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