pub struct WireProtocol {
pub header: Bytes,
pub parent_header: Bytes,
pub metadata: Bytes,
pub content: Bytes,
/* private fields */
}Fields§
§header: Bytes§parent_header: Bytes§metadata: Bytes§content: BytesImplementations§
Trait Implementations§
Source§impl Debug for WireProtocol
impl Debug for WireProtocol
Source§impl From<WireProtocol> for Response
impl From<WireProtocol> for Response
Source§fn from(wp: WireProtocol) -> Self
fn from(wp: WireProtocol) -> Self
Converts to this type from the input type.
Source§impl From<WireProtocol> for ZmqMessage
impl From<WireProtocol> for ZmqMessage
Source§fn from(wire_protocol: WireProtocol) -> Self
fn from(wire_protocol: WireProtocol) -> Self
Converts to this type from the input type.
Source§impl From<ZmqMessage> for WireProtocol
impl From<ZmqMessage> for WireProtocol
Source§fn from(zmq_message: ZmqMessage) -> Self
fn from(zmq_message: ZmqMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for WireProtocol
impl RefUnwindSafe for WireProtocol
impl Send for WireProtocol
impl Sync for WireProtocol
impl Unpin for WireProtocol
impl UnwindSafe for WireProtocol
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