Enum gio::SocketProtocol [−][src]
pub enum SocketProtocol { Unknown, Default, Tcp, Udp, Sctp, // some variants omitted }
Variants
Unknown
Default
Tcp
Udp
Sctp
Trait Implementations
impl Clone for SocketProtocol
[src]
impl Clone for SocketProtocol
fn clone(&self) -> SocketProtocol
[src]
fn clone(&self) -> SocketProtocol
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 SocketProtocol
[src]
impl Copy for SocketProtocol
impl Debug for SocketProtocol
[src]
impl Debug for SocketProtocol
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 SocketProtocol
[src]
impl Eq for SocketProtocol
impl PartialEq for SocketProtocol
[src]
impl PartialEq for SocketProtocol
fn eq(&self, other: &SocketProtocol) -> bool
[src]
fn eq(&self, other: &SocketProtocol) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SocketProtocol) -> bool
[src]
fn ne(&self, other: &SocketProtocol) -> bool
This method tests for !=
.
impl Hash for SocketProtocol
[src]
impl Hash for SocketProtocol
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 SocketProtocol
[src]
impl StaticType for SocketProtocol
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.
impl<'a> FromValueOptional<'a> for SocketProtocol
[src]
impl<'a> FromValueOptional<'a> for SocketProtocol
unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>
impl<'a> FromValue<'a> for SocketProtocol
[src]
impl<'a> FromValue<'a> for SocketProtocol
unsafe fn from_value(value: &Value) -> Self
[src]
unsafe fn from_value(value: &Value) -> Self
impl SetValue for SocketProtocol
[src]
impl SetValue for SocketProtocol
Auto Trait Implementations
impl Send for SocketProtocol
impl Send for SocketProtocol
impl Sync for SocketProtocol
impl Sync for SocketProtocol