Struct borealis::tendril::fmt::Bytes
[−]
pub struct Bytes;
Marker type for uninterpreted bytes.
Validation will never fail for this format.
Trait Implementations
impl Default for Bytes
impl Copy for Bytes
impl SliceFormat for Bytes
impl Format for Bytes
fn validate(&[u8]) -> bool
Check whether the buffer is valid for this format.
fn validate_prefix(buf: &[u8]) -> bool
Check whether the buffer is valid for this format. Read more
fn validate_suffix(buf: &[u8]) -> bool
Check whether the buffer is valid for this format. Read more
fn validate_subseq(buf: &[u8]) -> bool
Check whether the buffer is valid for this format. Read more
unsafe fn fixup(_lhs: &[u8], _rhs: &[u8]) -> Fixup
Compute any fixup needed when concatenating buffers. Read more
impl Debug for Bytes
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for Bytes
fn clone(&self) -> Bytes
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more