pub struct ObserveEventFrameCodec<T> { /* private fields */ }Expand description
ObserveEventFrameCodec data container.
Trait Implementations§
Source§impl<T: Clone> Clone for ObserveEventFrameCodec<T>
impl<T: Clone> Clone for ObserveEventFrameCodec<T>
Source§fn clone(&self) -> ObserveEventFrameCodec<T>
fn clone(&self) -> ObserveEventFrameCodec<T>
Returns a duplicate 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<T> Codec<ObserveEventFrame<T>> for ObserveEventFrameCodec<T>where
T: Serialize + DeserializeOwned,
impl<T> Codec<ObserveEventFrame<T>> for ObserveEventFrameCodec<T>where
T: Serialize + DeserializeOwned,
Source§fn encode(&self, value: &ObserveEventFrame<T>) -> JsonCodecResult<Vec<u8>>
fn encode(&self, value: &ObserveEventFrame<T>) -> JsonCodecResult<Vec<u8>>
Updates or reads
encode.Source§fn decode(&self, bytes: &[u8]) -> JsonCodecResult<ObserveEventFrame<T>>
fn decode(&self, bytes: &[u8]) -> JsonCodecResult<ObserveEventFrame<T>>
Updates or reads
decode.Source§impl<T: Debug> Debug for ObserveEventFrameCodec<T>
impl<T: Debug> Debug for ObserveEventFrameCodec<T>
Source§impl<T: Default> Default for ObserveEventFrameCodec<T>
impl<T: Default> Default for ObserveEventFrameCodec<T>
Source§fn default() -> ObserveEventFrameCodec<T>
fn default() -> ObserveEventFrameCodec<T>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<T> Freeze for ObserveEventFrameCodec<T>
impl<T> RefUnwindSafe for ObserveEventFrameCodec<T>where
T: RefUnwindSafe,
impl<T> Send for ObserveEventFrameCodec<T>where
T: Send,
impl<T> Sync for ObserveEventFrameCodec<T>where
T: Sync,
impl<T> Unpin for ObserveEventFrameCodec<T>where
T: Unpin,
impl<T> UnsafeUnpin for ObserveEventFrameCodec<T>
impl<T> UnwindSafe for ObserveEventFrameCodec<T>where
T: UnwindSafe,
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