Struct tendril::fmt::Bytes
[−]
[src]
pub struct Bytes;
Marker type for uninterpreted bytes.
Validation will never fail for this format.
Trait Implementations
impl Copy for Bytes
[src]
impl Clone for Bytes
[src]
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
impl Default for Bytes
[src]
impl Debug for Bytes
[src]
impl Format for Bytes
[src]
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