pub struct TransportDescriptor {
pub strategy: TransportStrategy,
pub mtu: usize,
}
Expand description
Transport configuration.
Fields§
§strategy: TransportStrategy
§mtu: usize
Trait Implementations§
Source§impl Clone for TransportDescriptor
impl Clone for TransportDescriptor
Source§fn clone(&self) -> TransportDescriptor
fn clone(&self) -> TransportDescriptor
Returns a copy of the value. Read more
1.0.0 · 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 TransportDescriptor
impl Debug for TransportDescriptor
Source§impl<'de> Deserialize<'de> for TransportDescriptor
impl<'de> Deserialize<'de> for TransportDescriptor
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 TransportDescriptor
impl Serialize for TransportDescriptor
impl Copy for TransportDescriptor
Auto Trait Implementations§
impl Freeze for TransportDescriptor
impl RefUnwindSafe for TransportDescriptor
impl Send for TransportDescriptor
impl Sync for TransportDescriptor
impl Unpin for TransportDescriptor
impl UnwindSafe for TransportDescriptor
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