Struct s2n_quic_core::packet::interceptor::Havoc
source · [−]pub struct Havoc<Rx, Tx, R> where
Rx: 'static + Send + Strategy,
Tx: 'static + Send + Strategy,
R: 'static + Send + Random, {
pub rx: Rx,
pub tx: Tx,
pub random: R,
}Fields
rx: Rxtx: Txrandom: RTrait Implementations
sourceimpl<Rx: Debug, Tx: Debug, R: Debug> Debug for Havoc<Rx, Tx, R> where
Rx: 'static + Send + Strategy,
Tx: 'static + Send + Strategy,
R: 'static + Send + Random,
impl<Rx: Debug, Tx: Debug, R: Debug> Debug for Havoc<Rx, Tx, R> where
Rx: 'static + Send + Strategy,
Tx: 'static + Send + Strategy,
R: 'static + Send + Random,
sourceimpl<Rx: Default, Tx: Default, R: Default> Default for Havoc<Rx, Tx, R> where
Rx: 'static + Send + Strategy,
Tx: 'static + Send + Strategy,
R: 'static + Send + Random,
impl<Rx: Default, Tx: Default, R: Default> Default for Havoc<Rx, Tx, R> where
Rx: 'static + Send + Strategy,
Tx: 'static + Send + Strategy,
R: 'static + Send + Random,
sourceimpl<Rx, Tx, R> Interceptor for Havoc<Rx, Tx, R> where
Rx: 'static + Send + Strategy,
Tx: 'static + Send + Strategy,
R: 'static + Send + Random,
impl<Rx, Tx, R> Interceptor for Havoc<Rx, Tx, R> where
Rx: 'static + Send + Strategy,
Tx: 'static + Send + Strategy,
R: 'static + Send + Random,
fn intercept_rx_payload<'a>(
&mut self,
_subject: &Subject,
_packet: &Packet,
payload: DecoderBufferMut<'a>
) -> DecoderBufferMut<'a>
fn intercept_tx_payload<'a>(
&mut self,
_subject: &Subject,
_packet: &Packet,
payload: &mut EncoderBuffer<'a>
)
fn intercept_rx_datagram<'a>(
&mut self,
subject: &Subject,
datagram: &Datagram<'_>,
payload: DecoderBufferMut<'a>
) -> DecoderBufferMut<'a>
fn intercept_tx_datagram<'a>(
&mut self,
subject: &Subject,
datagram: &Datagram<'_>,
payload: &mut EncoderBuffer<'a>
)
Auto Trait Implementations
impl<Rx, Tx, R> RefUnwindSafe for Havoc<Rx, Tx, R> where
R: RefUnwindSafe,
Rx: RefUnwindSafe,
Tx: RefUnwindSafe,
impl<Rx, Tx, R> Send for Havoc<Rx, Tx, R>
impl<Rx, Tx, R> Sync for Havoc<Rx, Tx, R> where
R: Sync,
Rx: Sync,
Tx: Sync,
impl<Rx, Tx, R> Unpin for Havoc<Rx, Tx, R> where
R: Unpin,
Rx: Unpin,
Tx: Unpin,
impl<Rx, Tx, R> UnwindSafe for Havoc<Rx, Tx, R> where
R: UnwindSafe,
Rx: UnwindSafe,
Tx: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more