Enum ppaass_protocol::message::payload::tcp::ProxyTcpPayload
source · pub enum ProxyTcpPayload {
Init {
src_address: PpaassUnifiedAddress,
dst_address: PpaassUnifiedAddress,
result: ProxyTcpInitResult,
},
Data {
content: Bytes,
},
}Variants§
Init
Fields
§
src_address: PpaassUnifiedAddress§
dst_address: PpaassUnifiedAddress§
result: ProxyTcpInitResultData
Trait Implementations§
source§impl Debug for ProxyTcpPayload
impl Debug for ProxyTcpPayload
source§impl<'de> Deserialize<'de> for ProxyTcpPayload
impl<'de> Deserialize<'de> for ProxyTcpPayload
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 Serialize for ProxyTcpPayload
impl Serialize for ProxyTcpPayload
source§impl TryFrom<Bytes> for ProxyTcpPayload
impl TryFrom<Bytes> for ProxyTcpPayload
source§impl TryFrom<ProxyTcpPayload> for Bytes
impl TryFrom<ProxyTcpPayload> for Bytes
§type Error = ProtocolError
type Error = ProtocolError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl !Freeze for ProxyTcpPayload
impl RefUnwindSafe for ProxyTcpPayload
impl Send for ProxyTcpPayload
impl Sync for ProxyTcpPayload
impl Unpin for ProxyTcpPayload
impl UnwindSafe for ProxyTcpPayload
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