pub enum PpaassProxyMessagePayload {
Tcp(ProxyTcpPayload),
Udp(ProxyUdpPayload),
}Variants§
Tcp(ProxyTcpPayload)
Udp(ProxyUdpPayload)
Trait Implementations§
source§impl Debug for PpaassProxyMessagePayload
impl Debug for PpaassProxyMessagePayload
source§impl<'de> Deserialize<'de> for PpaassProxyMessagePayload
impl<'de> Deserialize<'de> for PpaassProxyMessagePayload
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 TryFrom<Bytes> for PpaassProxyMessagePayload
impl TryFrom<Bytes> for PpaassProxyMessagePayload
source§impl TryFrom<PpaassProxyMessagePayload> for Bytes
impl TryFrom<PpaassProxyMessagePayload> for Bytes
§type Error = ProtocolError
type Error = ProtocolError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl RefUnwindSafe for PpaassProxyMessagePayload
impl Send for PpaassProxyMessagePayload
impl Sync for PpaassProxyMessagePayload
impl Unpin for PpaassProxyMessagePayload
impl UnwindSafe for PpaassProxyMessagePayload
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