Struct mediasoup_sys::fbs::transport::SocketFlags
source · pub struct SocketFlags {
pub ipv6_only: bool,
pub udp_reuse_port: bool,
}
Expand description
The table SocketFlags
in the namespace FBS.Transport
Generated from these locations:
- Table
SocketFlags
in the filefbs/transport.fbs:16
Fields§
§ipv6_only: bool
The field ipv6_only
in the table SocketFlags
udp_reuse_port: bool
The field udp_reuse_port
in the table SocketFlags
Implementations§
source§impl SocketFlags
impl SocketFlags
sourcepub fn builder() -> SocketFlagsBuilder<()>
pub fn builder() -> SocketFlagsBuilder<()>
Creates a SocketFlagsBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_ipv6_only: impl WriteAsDefault<bool, bool>, field_udp_reuse_port: impl WriteAsDefault<bool, bool> ) -> Offset<Self>
Trait Implementations§
source§impl Clone for SocketFlags
impl Clone for SocketFlags
source§fn clone(&self) -> SocketFlags
fn clone(&self) -> SocketFlags
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 SocketFlags
impl Debug for SocketFlags
source§impl Default for SocketFlags
impl Default for SocketFlags
source§impl<'de> Deserialize<'de> for SocketFlags
impl<'de> Deserialize<'de> for SocketFlags
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 Hash for SocketFlags
impl Hash for SocketFlags
source§impl Ord for SocketFlags
impl Ord for SocketFlags
source§fn cmp(&self, other: &SocketFlags) -> Ordering
fn cmp(&self, other: &SocketFlags) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SocketFlags
impl PartialEq for SocketFlags
source§fn eq(&self, other: &SocketFlags) -> bool
fn eq(&self, other: &SocketFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SocketFlags
impl PartialOrd for SocketFlags
source§fn partial_cmp(&self, other: &SocketFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &SocketFlags) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for SocketFlags
impl Serialize for SocketFlags
source§impl<'a> TryFrom<SocketFlagsRef<'a>> for SocketFlags
impl<'a> TryFrom<SocketFlagsRef<'a>> for SocketFlags
impl Eq for SocketFlags
impl StructuralPartialEq for SocketFlags
impl VectorWrite<Offset<SocketFlags>> for SocketFlags
impl WriteAs<Offset<SocketFlags>> for SocketFlags
impl WriteAsOffset<SocketFlags> for SocketFlags
impl<T0: WriteAsDefault<bool, bool>, T1: WriteAsDefault<bool, bool>> WriteAsOffset<SocketFlags> for SocketFlagsBuilder<(T0, T1)>
impl WriteAsOptional<Offset<SocketFlags>> for SocketFlags
Auto Trait Implementations§
impl RefUnwindSafe for SocketFlags
impl Send for SocketFlags
impl Sync for SocketFlags
impl Unpin for SocketFlags
impl UnwindSafe for SocketFlags
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more