pub struct Blob(pub Vec<u8>);
Expand description
Blob structure wrapping a vec of bytes. This implementation is to differenciate between a list of VarInts and a Blob of straight bytes
Tuple Fields§
§0: Vec<u8>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Blob
impl Send for Blob
impl Sync for Blob
impl Unpin for Blob
impl UnwindSafe for Blob
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
source§impl<D> FromRequest for Dwhere
D: Decodable + Send + 'static,
impl<D> FromRequest for Dwhere D: Decodable + Send + 'static,
source§fn from_request(req: &Packet) -> Result<D, DecodeError>
fn from_request(req: &Packet) -> Result<D, DecodeError>
Takes the value from the request returning a decode result of
whether the value could be created Read more
source§impl<F> FromRequestInternal for Fwhere
F: FromRequest,
impl<F> FromRequestInternal for Fwhere F: FromRequest,
fn from_request(req: &Packet) -> Result<F, DecodeError>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<E> IntoResponse for Ewhere
E: Encodable + 'static,
impl<E> IntoResponse for Ewhere E: Encodable + 'static,
source§fn into_response(self, req: &Packet) -> Packet
fn into_response(self, req: &Packet) -> Packet
Into packet conversion