Struct socketioxide::handler::extract::Bin
source · pub struct Bin(pub Vec<Bytes>);Expand description
An Extractor that returns the binary data of the message. If there is no binary data, it will contain an empty vec.
Tuple Fields§
§0: Vec<Bytes>Trait Implementations§
source§impl<A: Adapter> FromMessage<A> for Bin
impl<A: Adapter> FromMessage<A> for Bin
§type Error = Infallible
type Error = Infallible
The error type returned by the extractor
Auto Trait Implementations§
impl Freeze for Bin
impl RefUnwindSafe for Bin
impl Send for Bin
impl Sync for Bin
impl Unpin for Bin
impl UnwindSafe for Bin
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