pub enum FramerKind {
Ndjson,
}Expand description
Supported wire framers (v1: NDJSON only).
Selected per command stage via stdio.framer in transforms TOML and passed
into child-stdio transport constructors so the config is not dead.
Variants§
Ndjson
Newline-delimited JSON (stdio.framer = "ndjson").
Implementations§
Source§impl FramerKind
impl FramerKind
Sourcepub fn into_framer(self) -> NdjsonFramer
pub fn into_framer(self) -> NdjsonFramer
Resolve to the concrete Framer implementation for this kind.
Trait Implementations§
Source§impl Clone for FramerKind
impl Clone for FramerKind
Source§fn clone(&self) -> FramerKind
fn clone(&self) -> FramerKind
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 FramerKind
Source§impl Debug for FramerKind
impl Debug for FramerKind
Source§impl Default for FramerKind
impl Default for FramerKind
Source§fn default() -> FramerKind
fn default() -> FramerKind
Returns the “default value” for a type. Read more
impl Eq for FramerKind
Source§impl PartialEq for FramerKind
impl PartialEq for FramerKind
impl StructuralPartialEq for FramerKind
Auto Trait Implementations§
impl Freeze for FramerKind
impl RefUnwindSafe for FramerKind
impl Send for FramerKind
impl Sync for FramerKind
impl Unpin for FramerKind
impl UnsafeUnpin for FramerKind
impl UnwindSafe for FramerKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.