pub struct ProtoInfo {
pub tcp: Option<TcpInfo>,
pub dccp: Option<DccpInfo>,
pub sctp: Option<SctpInfo>,
}Expand description
ProtoInfo contains additional information for certain protocols
Fields§
§tcp: Option<TcpInfo>§dccp: Option<DccpInfo>§sctp: Option<SctpInfo>Trait Implementations§
Source§impl<'a> AttrDecoder<'a, ProtoInfoAttr, ProtoInfo> for ProtoInfo
impl<'a> AttrDecoder<'a, ProtoInfoAttr, ProtoInfo> for ProtoInfo
fn decode(attr_handle: CtAttrHandle<'a, ProtoInfoAttr>) -> Result<ProtoInfo>
Source§impl<'de> Deserialize<'de> for ProtoInfo
impl<'de> Deserialize<'de> for ProtoInfo
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
Auto Trait Implementations§
impl Freeze for ProtoInfo
impl RefUnwindSafe for ProtoInfo
impl Send for ProtoInfo
impl Sync for ProtoInfo
impl Unpin for ProtoInfo
impl UnwindSafe for ProtoInfo
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