pub enum PktLine<'a> {
Flush,
Delimiter,
ResponseEnd,
Data(&'a [u8]),
}Expand description
A pkt-line entry
Variants§
Trait Implementations§
impl<'a> Eq for PktLine<'a>
impl<'a> StructuralPartialEq for PktLine<'a>
Auto Trait Implementations§
impl<'a> Freeze for PktLine<'a>
impl<'a> RefUnwindSafe for PktLine<'a>
impl<'a> Send for PktLine<'a>
impl<'a> Sync for PktLine<'a>
impl<'a> Unpin for PktLine<'a>
impl<'a> UnwindSafe for PktLine<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)