pub enum Fragment {
Line {
data: Vec<u8>,
},
Literal {
data: Vec<u8>,
mode: LiteralMode,
},
}
Expand description
The intended action of a client or server.
Variants§
Line
A line that is ready to be send.
Literal
A literal that may require an action before it should be send.
Trait Implementations§
impl Eq for Fragment
impl StructuralPartialEq for Fragment
Auto Trait Implementations§
impl Freeze for Fragment
impl RefUnwindSafe for Fragment
impl Send for Fragment
impl Sync for Fragment
impl Unpin for Fragment
impl UnwindSafe for Fragment
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