pub struct LimitedBytes<B> { /* fields omitted */ }
Expand description
Returns the underlying buffer.
Returns itself as a slice of bytes that may or may not be initialised. Read more
Returns true
if the buffer has spare capacity.
Update the length of the byte slice, marking n
bytes as initialised. Read more
Wrap the buffer in LimitedBytes
, which limits the amount of bytes used
to limit
. Read more
Type used as slice of buffers, usually this is an array.
Returns true
if (one of) the buffers has spare capacity.
Update the length of the buffers in the slice. Read more
Wrap the buffer in LimitedBytes
, which limits the amount of bytes used
to limit
. Read more
Formats the value using the given formatter. Read more
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.