pub enum HttpStreamPayloadCodec {
Ndjson,
Sse,
}Variants§
Trait Implementations§
Source§impl Clone for HttpStreamPayloadCodec
impl Clone for HttpStreamPayloadCodec
Source§fn clone(&self) -> HttpStreamPayloadCodec
fn clone(&self) -> HttpStreamPayloadCodec
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 moreSource§impl Debug for HttpStreamPayloadCodec
impl Debug for HttpStreamPayloadCodec
Source§impl<'de> Deserialize<'de> for HttpStreamPayloadCodec
impl<'de> Deserialize<'de> for HttpStreamPayloadCodec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HttpStreamPayloadCodec
impl PartialEq for HttpStreamPayloadCodec
Source§fn eq(&self, other: &HttpStreamPayloadCodec) -> bool
fn eq(&self, other: &HttpStreamPayloadCodec) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HttpStreamPayloadCodec
impl Serialize for HttpStreamPayloadCodec
impl Copy for HttpStreamPayloadCodec
impl Eq for HttpStreamPayloadCodec
impl StructuralPartialEq for HttpStreamPayloadCodec
Auto Trait Implementations§
impl Freeze for HttpStreamPayloadCodec
impl RefUnwindSafe for HttpStreamPayloadCodec
impl Send for HttpStreamPayloadCodec
impl Sync for HttpStreamPayloadCodec
impl Unpin for HttpStreamPayloadCodec
impl UnsafeUnpin for HttpStreamPayloadCodec
impl UnwindSafe for HttpStreamPayloadCodec
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