Struct ws_tool::codec::WriteStreamHandler
source · pub struct WriteStreamHandler {
pub config: PMDConfig,
pub com: ZLibCompressStream,
}
Expand description
helper struct to handler com stream
Fields§
§config: PMDConfig
permessage deflate config
com: ZLibCompressStream
compressor
Auto Trait Implementations§
impl RefUnwindSafe for WriteStreamHandler
impl Send for WriteStreamHandler
impl Sync for WriteStreamHandler
impl Unpin for WriteStreamHandler
impl UnwindSafe for WriteStreamHandler
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