Struct rsmc_core::client::NoCompressor [−][src]
pub struct NoCompressor;
Expand description
An implementation of Compressor
that does nothing. This is useful if
you want to disable compression.
Trait Implementations
Consume a packet, returning a (possibly) modified packet with the packet value compressed. This should set the appropriate packet flags on the extras field. Read more
Consume a packet, returning a (possibly) modified packet with the packet value decompressed. This should unset the appropriate packet flags on the extras field. Read more
Auto Trait Implementations
impl RefUnwindSafe for NoCompressor
impl Send for NoCompressor
impl Sync for NoCompressor
impl Unpin for NoCompressor
impl UnwindSafe for NoCompressor
Blanket Implementations
Mutably borrows from an owned value. Read more