pub struct NdjsonFramer;Expand description
Newline-delimited framing: each message is payload + \n.
Payload is expected to be compact JSON when used with the external NDJSON wire protocol; this type does not parse JSON itself.
Trait Implementations§
Source§impl Clone for NdjsonFramer
impl Clone for NdjsonFramer
Source§fn clone(&self) -> NdjsonFramer
fn clone(&self) -> NdjsonFramer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NdjsonFramer
Source§impl Debug for NdjsonFramer
impl Debug for NdjsonFramer
Source§impl Default for NdjsonFramer
impl Default for NdjsonFramer
Source§fn default() -> NdjsonFramer
fn default() -> NdjsonFramer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NdjsonFramer
impl RefUnwindSafe for NdjsonFramer
impl Send for NdjsonFramer
impl Sync for NdjsonFramer
impl Unpin for NdjsonFramer
impl UnsafeUnpin for NdjsonFramer
impl UnwindSafe for NdjsonFramer
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