Struct tl::Bytes [−][src]
pub struct Bytes<'a>(_);Expand description
A wrapper around a DST-slice
Implementations
Convenient method for lossy-encoding the data as UTF8
Returns the raw data wrapped by this struct
Trait Implementations
Custom Debug trait is implemented which displays the data as a UTF8 string,
to make it easier to read for humans when logging
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for Bytes<'a>
impl<'a> UnwindSafe for Bytes<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more