pub struct NetworkingProfileValues {
pub connect_timeout: Option<CDuration>,
pub socket_read_buffer_size: Option<CBytes>,
pub socket_write_buffer_size: Option<CBytes>,
pub static_binding_within_the_task: bool,
pub bind_local_ipv4: Vec<CIP4Addr>,
pub bind_local_ipv6: Vec<CIP6Addr>,
}Fields§
§connect_timeout: Option<CDuration>§socket_read_buffer_size: Option<CBytes>§socket_write_buffer_size: Option<CBytes>§static_binding_within_the_task: bool§bind_local_ipv4: Vec<CIP4Addr>§bind_local_ipv6: Vec<CIP6Addr>Implementations§
Source§impl NetworkingProfileValues
impl NetworkingProfileValues
pub fn rand_bind_local_ipv4(&self) -> Option<Ipv4Addr>
pub fn rand_bind_local_ipv6(&self) -> Option<Ipv6Addr>
Trait Implementations§
Source§impl Clone for NetworkingProfileValues
impl Clone for NetworkingProfileValues
Source§fn clone(&self) -> NetworkingProfileValues
fn clone(&self) -> NetworkingProfileValues
Returns a duplicate 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 NetworkingProfileValues
impl Debug for NetworkingProfileValues
Source§impl Default for NetworkingProfileValues
impl Default for NetworkingProfileValues
Source§impl<'de> Deserialize<'de> for NetworkingProfileValues
impl<'de> Deserialize<'de> for NetworkingProfileValues
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 NetworkingProfileValues
impl RefUnwindSafe for NetworkingProfileValues
impl Send for NetworkingProfileValues
impl Sync for NetworkingProfileValues
impl Unpin for NetworkingProfileValues
impl UnwindSafe for NetworkingProfileValues
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