pub struct Bytes { /* private fields */ }
Expand description
Bytes
This struct is just a simple container for some primitive numbers. It is used in fmt()
, fmt_as_parts()
…
Trait Implementations
sourceimpl From<NonZeroU128> for Bytes
impl From<NonZeroU128> for Bytes
sourcefn from(n: NonZeroU128) -> Self
fn from(n: NonZeroU128) -> Self
Converts to this type from the input type.
sourceimpl From<NonZeroU16> for Bytes
impl From<NonZeroU16> for Bytes
sourcefn from(n: NonZeroU16) -> Self
fn from(n: NonZeroU16) -> Self
Converts to this type from the input type.
sourceimpl From<NonZeroU32> for Bytes
impl From<NonZeroU32> for Bytes
sourcefn from(n: NonZeroU32) -> Self
fn from(n: NonZeroU32) -> Self
Converts to this type from the input type.
sourceimpl From<NonZeroU64> for Bytes
impl From<NonZeroU64> for Bytes
sourcefn from(n: NonZeroU64) -> Self
fn from(n: NonZeroU64) -> Self
Converts to this type from the input type.
sourceimpl From<NonZeroUsize> for Bytes
impl From<NonZeroUsize> for Bytes
sourcefn from(n: NonZeroUsize) -> Self
fn from(n: NonZeroUsize) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for Bytes
impl Send for Bytes
impl Sync for Bytes
impl Unpin for Bytes
impl UnwindSafe for Bytes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more