pub struct DirectUDPSocketOptions<'a> { /* private fields */ }Implementations§
Source§impl<'a> DirectUDPSocketOptions<'a>
impl<'a> DirectUDPSocketOptions<'a>
Sourcepub fn builder() -> DirectUDPSocketOptionsBuilder<'a>
pub fn builder() -> DirectUDPSocketOptionsBuilder<'a>
Creates a builder for this type.
pub fn remote_addr(&self) -> Option<&str>
Sourcepub fn remote_port(&self) -> Option<i64>
pub fn remote_port(&self) -> Option<i64>
Unsigned int 16.
pub fn local_addr(&self) -> Option<&str>
Sourcepub fn local_port(&self) -> Option<i64>
pub fn local_port(&self) -> Option<i64>
Unsigned int 16.
pub fn dns_query_type(&self) -> Option<&DirectSocketDnsQueryType>
Sourcepub fn send_buffer_size(&self) -> Option<f64>
pub fn send_buffer_size(&self) -> Option<f64>
Expected to be unsigned integer.
Sourcepub fn receive_buffer_size(&self) -> Option<f64>
pub fn receive_buffer_size(&self) -> Option<f64>
Expected to be unsigned integer.
pub fn multicast_loopback(&self) -> Option<bool>
Sourcepub fn multicast_time_to_live(&self) -> Option<i64>
pub fn multicast_time_to_live(&self) -> Option<i64>
Unsigned int 8.
pub fn multicast_allow_address_sharing(&self) -> Option<bool>
Trait Implementations§
Source§impl<'a> Clone for DirectUDPSocketOptions<'a>
impl<'a> Clone for DirectUDPSocketOptions<'a>
Source§fn clone(&self) -> DirectUDPSocketOptions<'a>
fn clone(&self) -> DirectUDPSocketOptions<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for DirectUDPSocketOptions<'a>
impl<'a> Debug for DirectUDPSocketOptions<'a>
Source§impl<'a> Default for DirectUDPSocketOptions<'a>
impl<'a> Default for DirectUDPSocketOptions<'a>
Source§fn default() -> DirectUDPSocketOptions<'a>
fn default() -> DirectUDPSocketOptions<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for DirectUDPSocketOptions<'a>
impl<'de, 'a> Deserialize<'de> for DirectUDPSocketOptions<'a>
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<'a> Freeze for DirectUDPSocketOptions<'a>
impl<'a> RefUnwindSafe for DirectUDPSocketOptions<'a>
impl<'a> Send for DirectUDPSocketOptions<'a>
impl<'a> Sync for DirectUDPSocketOptions<'a>
impl<'a> Unpin for DirectUDPSocketOptions<'a>
impl<'a> UnsafeUnpin for DirectUDPSocketOptions<'a>
impl<'a> UnwindSafe for DirectUDPSocketOptions<'a>
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