pub enum StreamWire {
None,
Sse,
Ndjson,
}Expand description
Provider streaming frame family.
Variants§
None
Provider has no streaming frame shape in this profile.
Sse
Server-sent-event frames.
Ndjson
Newline-delimited JSON frames.
Trait Implementations§
Source§impl Clone for StreamWire
impl Clone for StreamWire
Source§fn clone(&self) -> StreamWire
fn clone(&self) -> StreamWire
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 StreamWire
Source§impl Debug for StreamWire
impl Debug for StreamWire
impl Eq for StreamWire
Source§impl PartialEq for StreamWire
impl PartialEq for StreamWire
impl StructuralPartialEq for StreamWire
Auto Trait Implementations§
impl Freeze for StreamWire
impl RefUnwindSafe for StreamWire
impl Send for StreamWire
impl Sync for StreamWire
impl Unpin for StreamWire
impl UnsafeUnpin for StreamWire
impl UnwindSafe for StreamWire
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