pub struct Frame { /* fields omitted */ }
Expand description
Frame structure from websockets connection
Returns the OP CODE of the frame
Attempts to parse a frame from a stream of bytes
Returns the frame as a byte vector
Takes the frame and returns the contained message, if any
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.