pub struct DirectUDPSocketOptions {
pub remoteAddr: Option<String>,
pub remotePort: Option<i64>,
pub localAddr: Option<String>,
pub localPort: Option<i64>,
pub dnsQueryType: Option<DirectSocketDnsQueryType>,
pub sendBufferSize: Option<f64>,
pub receiveBufferSize: Option<f64>,
pub multicastLoopback: Option<bool>,
pub multicastTimeToLive: Option<i64>,
pub multicastAllowAddressSharing: Option<bool>,
}Fields§
§remoteAddr: Option<String>§remotePort: Option<i64>Unsigned int 16.
localAddr: Option<String>§localPort: Option<i64>Unsigned int 16.
dnsQueryType: Option<DirectSocketDnsQueryType>§sendBufferSize: Option<f64>Expected to be unsigned integer.
receiveBufferSize: Option<f64>Expected to be unsigned integer.
multicastLoopback: Option<bool>§multicastTimeToLive: Option<i64>Unsigned int 8.
multicastAllowAddressSharing: Option<bool>Trait Implementations§
Source§impl Clone for DirectUDPSocketOptions
impl Clone for DirectUDPSocketOptions
Source§fn clone(&self) -> DirectUDPSocketOptions
fn clone(&self) -> DirectUDPSocketOptions
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 DirectUDPSocketOptions
impl Debug for DirectUDPSocketOptions
Source§impl Default for DirectUDPSocketOptions
impl Default for DirectUDPSocketOptions
Source§fn default() -> DirectUDPSocketOptions
fn default() -> DirectUDPSocketOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DirectUDPSocketOptions
impl<'de> Deserialize<'de> for DirectUDPSocketOptions
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 DirectUDPSocketOptions
impl RefUnwindSafe for DirectUDPSocketOptions
impl Send for DirectUDPSocketOptions
impl Sync for DirectUDPSocketOptions
impl Unpin for DirectUDPSocketOptions
impl UnsafeUnpin for DirectUDPSocketOptions
impl UnwindSafe for DirectUDPSocketOptions
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