Struct cobalt::NoopPacketModifier
[−]
[src]
pub struct NoopPacketModifier;
Implementation of a packet modifier which does nothing.
Trait Implementations
impl Debug for NoopPacketModifier
[src]
impl Copy for NoopPacketModifier
[src]
impl Clone for NoopPacketModifier
[src]
fn clone(&self) -> NoopPacketModifier
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PacketModifier for NoopPacketModifier
[src]
fn new(_: Config) -> NoopPacketModifier
Method that constructs a new packet modifier using the provided configuration.
fn outgoing(&mut self, _: &[u8]) -> Option<Vec<u8>>
Method that is called for payload modification before a packet is send over a connection's underlying socket. Read more
fn incoming(&mut self, _: &[u8]) -> Option<Vec<u8>>
Method that is called for payload modification purposes after a packet is received over a connection's underlying socket. Read more