Struct drawbridge_byte::Bytes
source · pub struct Bytes<T, C = Standard>(_, _);Expand description
A wrapper for bytes which provides base64 encoding in string contexts
Implementations§
source§impl<T, C> Bytes<T, C>
impl<T, C> Bytes<T, C>
sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Consumes the outer type, returning the inner type
Trait Implementations§
source§impl<T: Ord, C: Ord> Ord for Bytes<T, C>
impl<T: Ord, C: Ord> Ord for Bytes<T, C>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<T: PartialEq, C: PartialEq> PartialEq<Bytes<T, C>> for Bytes<T, C>
impl<T: PartialEq, C: PartialEq> PartialEq<Bytes<T, C>> for Bytes<T, C>
source§impl<T: PartialOrd, C: PartialOrd> PartialOrd<Bytes<T, C>> for Bytes<T, C>
impl<T: PartialOrd, C: PartialOrd> PartialOrd<Bytes<T, C>> for Bytes<T, C>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more