pub enum ProtocolFrame {
Request(RequestFrame),
Response(ResponseFrame),
Event(EventFrame),
SidecarRequest(SidecarRequestFrame),
SidecarResponse(SidecarResponseFrame),
}Variants§
Request(RequestFrame)
Response(ResponseFrame)
Event(EventFrame)
SidecarRequest(SidecarRequestFrame)
SidecarResponse(SidecarResponseFrame)
Trait Implementations§
Source§impl Clone for ProtocolFrame
impl Clone for ProtocolFrame
Source§fn clone(&self) -> ProtocolFrame
fn clone(&self) -> ProtocolFrame
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 ProtocolFrame
impl Debug for ProtocolFrame
Source§impl<'de> Deserialize<'de> for ProtocolFrame
impl<'de> Deserialize<'de> for ProtocolFrame
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
impl Eq for ProtocolFrame
Source§impl PartialEq for ProtocolFrame
impl PartialEq for ProtocolFrame
Source§fn eq(&self, other: &ProtocolFrame) -> bool
fn eq(&self, other: &ProtocolFrame) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProtocolFrame
impl Serialize for ProtocolFrame
impl StructuralPartialEq for ProtocolFrame
Auto Trait Implementations§
impl Freeze for ProtocolFrame
impl RefUnwindSafe for ProtocolFrame
impl Send for ProtocolFrame
impl Sync for ProtocolFrame
impl Unpin for ProtocolFrame
impl UnsafeUnpin for ProtocolFrame
impl UnwindSafe for ProtocolFrame
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