Enum gio::SocketFamily [−][src]
pub enum SocketFamily { Invalid, Unix, Ipv4, Ipv6, // some variants omitted }
Variants
Invalid
Unix
Ipv4
Ipv6
Trait Implementations
impl Clone for SocketFamily
[src]
impl Clone for SocketFamily
fn clone(&self) -> SocketFamily
[src]
fn clone(&self) -> SocketFamily
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for SocketFamily
[src]
impl Copy for SocketFamily
impl Debug for SocketFamily
[src]
impl Debug for SocketFamily
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for SocketFamily
[src]
impl Eq for SocketFamily
impl PartialEq for SocketFamily
[src]
impl PartialEq for SocketFamily
fn eq(&self, other: &SocketFamily) -> bool
[src]
fn eq(&self, other: &SocketFamily) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SocketFamily) -> bool
[src]
fn ne(&self, other: &SocketFamily) -> bool
This method tests for !=
.
impl Hash for SocketFamily
[src]
impl Hash for SocketFamily
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for SocketFamily
[src]
impl StaticType for SocketFamily
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.
impl<'a> FromValueOptional<'a> for SocketFamily
[src]
impl<'a> FromValueOptional<'a> for SocketFamily
unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>
impl<'a> FromValue<'a> for SocketFamily
[src]
impl<'a> FromValue<'a> for SocketFamily
unsafe fn from_value(value: &Value) -> Self
[src]
unsafe fn from_value(value: &Value) -> Self
impl SetValue for SocketFamily
[src]
impl SetValue for SocketFamily
Auto Trait Implementations
impl Send for SocketFamily
impl Send for SocketFamily
impl Sync for SocketFamily
impl Sync for SocketFamily