[][src]Struct websocket_base::ws::util::mask::Masker

pub struct Masker<'w> { /* fields omitted */ }

Struct to pipe data into another writer, while masking the data being written

Methods

impl<'w> Masker<'w>[src]

pub fn new(key: [u8; 4], endpoint: &'w mut dyn Write) -> Self[src]

Create a new Masker with the key and the endpoint to be writer to.

Trait Implementations

impl<'w> Write for Masker<'w>[src]

Auto Trait Implementations

impl<'w> !Send for Masker<'w>

impl<'w> !Sync for Masker<'w>

impl<'w> Unpin for Masker<'w>

impl<'w> !UnwindSafe for Masker<'w>

impl<'w> !RefUnwindSafe for Masker<'w>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<W> WriteBytesExt for W where
    W: Write + ?Sized
[src]