pub struct EventStreamCodec;
Trait Implementations§
source§impl Clone for EventStreamCodec
impl Clone for EventStreamCodec
source§fn clone(&self) -> EventStreamCodec
fn clone(&self) -> EventStreamCodec
Returns a copy of the value. Read more
1.0.0 · 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 EventStreamCodec
impl Debug for EventStreamCodec
source§impl Decoder for EventStreamCodec
impl Decoder for EventStreamCodec
source§fn decode(&mut self, buf: &mut BytesMut) -> Result<Option<Message>, Self::Error>
fn decode(&mut self, buf: &mut BytesMut) -> Result<Option<Message>, Self::Error>
Attempts to decode a frame from the provided buffer of bytes. Read more
source§impl Default for EventStreamCodec
impl Default for EventStreamCodec
source§fn default() -> EventStreamCodec
fn default() -> EventStreamCodec
Returns the “default value” for a type. Read more
source§impl Encoder<Message> for EventStreamCodec
impl Encoder<Message> for EventStreamCodec
source§impl Hash for EventStreamCodec
impl Hash for EventStreamCodec
source§impl Ord for EventStreamCodec
impl Ord for EventStreamCodec
source§fn cmp(&self, other: &EventStreamCodec) -> Ordering
fn cmp(&self, other: &EventStreamCodec) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for EventStreamCodec
impl PartialEq for EventStreamCodec
source§fn eq(&self, other: &EventStreamCodec) -> bool
fn eq(&self, other: &EventStreamCodec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for EventStreamCodec
impl PartialOrd for EventStreamCodec
source§fn partial_cmp(&self, other: &EventStreamCodec) -> Option<Ordering>
fn partial_cmp(&self, other: &EventStreamCodec) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for EventStreamCodec
impl StructuralEq for EventStreamCodec
impl StructuralPartialEq for EventStreamCodec
Auto Trait Implementations§
impl RefUnwindSafe for EventStreamCodec
impl Send for EventStreamCodec
impl Sync for EventStreamCodec
impl Unpin for EventStreamCodec
impl UnwindSafe for EventStreamCodec
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