pub enum StreamFrame {
Line,
Raw,
Fixed,
}Expand description
How the body bytes are framed on the stream.
Variants§
Line
One exchange per line (newline-delimited). Default.
Raw
Bytes written/read verbatim, no framing.
Fixed
Fixed-size frames of size bytes.
Trait Implementations§
Source§impl Clone for StreamFrame
impl Clone for StreamFrame
impl Copy for StreamFrame
Source§impl Debug for StreamFrame
impl Debug for StreamFrame
Source§impl Display for StreamFrame
impl Display for StreamFrame
impl Eq for StreamFrame
Source§impl FromStr for StreamFrame
impl FromStr for StreamFrame
Source§impl PartialEq for StreamFrame
impl PartialEq for StreamFrame
impl StructuralPartialEq for StreamFrame
Auto Trait Implementations§
impl Freeze for StreamFrame
impl RefUnwindSafe for StreamFrame
impl Send for StreamFrame
impl Sync for StreamFrame
impl Unpin for StreamFrame
impl UnsafeUnpin for StreamFrame
impl UnwindSafe for StreamFrame
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