Enum gio::SocketProtocol [−][src]
pub enum SocketProtocol {
Unknown,
Default,
Tcp,
Udp,
Sctp,
// some variants omitted
}Variants
UnknownDefaultTcpUdpSctp
Trait Implementations
impl Clone for SocketProtocol[src]
impl Clone for SocketProtocolfn clone(&self) -> SocketProtocol[src]
fn clone(&self) -> SocketProtocolReturns 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 SocketProtocolimpl Debug for SocketProtocol[src]
impl Debug for SocketProtocolfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for SocketProtocol[src]
impl Eq for SocketProtocolimpl PartialEq for SocketProtocol[src]
impl PartialEq for SocketProtocolfn eq(&self, other: &SocketProtocol) -> bool[src]
fn eq(&self, other: &SocketProtocol) -> boolThis 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) -> boolThis method tests for !=.
impl Hash for SocketProtocol[src]
impl Hash for SocketProtocolfn 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 SocketProtocolfn static_type() -> Type[src]
fn static_type() -> TypeReturns the type identifier of Self.
impl<'a> FromValueOptional<'a> for SocketProtocol[src]
impl<'a> FromValueOptional<'a> for SocketProtocolunsafe 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 SocketProtocolunsafe fn from_value(value: &Value) -> Self[src]
unsafe fn from_value(value: &Value) -> Selfimpl SetValue for SocketProtocol[src]
impl SetValue for SocketProtocolAuto Trait Implementations
impl Send for SocketProtocol
impl Send for SocketProtocolimpl Sync for SocketProtocol
impl Sync for SocketProtocol