pub struct Tag { /* private fields */ }
Implementations§
source§impl Tag
impl Tag
sourcepub fn from_bytes(data: &[u8]) -> ParseResult<(Tag, &[u8])>
pub fn from_bytes(data: &[u8]) -> ParseResult<(Tag, &[u8])>
Parses a Tag
from bytes and returns either the Tag
and the
remaining bytes from the input or an error.
Trait Implementations§
impl Copy for Tag
impl Eq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more