Enum gio::SocketType [−][src]
pub enum SocketType {
Invalid,
Stream,
Datagram,
Seqpacket,
// some variants omitted
}Variants
InvalidStreamDatagramSeqpacket
Trait Implementations
impl Clone for SocketType[src]
impl Clone for SocketTypefn clone(&self) -> SocketType[src]
fn clone(&self) -> SocketTypeReturns 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 SocketType[src]
impl Copy for SocketTypeimpl Debug for SocketType[src]
impl Debug for SocketTypefn 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 SocketType[src]
impl Eq for SocketTypeimpl PartialEq for SocketType[src]
impl PartialEq for SocketTypefn eq(&self, other: &SocketType) -> bool[src]
fn eq(&self, other: &SocketType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &SocketType) -> bool[src]
fn ne(&self, other: &SocketType) -> boolThis method tests for !=.
impl Hash for SocketType[src]
impl Hash for SocketTypefn 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 SocketType[src]
impl StaticType for SocketTypefn static_type() -> Type[src]
fn static_type() -> TypeReturns the type identifier of Self.
impl<'a> FromValueOptional<'a> for SocketType[src]
impl<'a> FromValueOptional<'a> for SocketTypeunsafe fn from_value_optional(value: &Value) -> Option<Self>[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>impl<'a> FromValue<'a> for SocketType[src]
impl<'a> FromValue<'a> for SocketTypeunsafe fn from_value(value: &Value) -> Self[src]
unsafe fn from_value(value: &Value) -> Selfimpl SetValue for SocketType[src]
impl SetValue for SocketTypeAuto Trait Implementations
impl Send for SocketType
impl Send for SocketTypeimpl Sync for SocketType
impl Sync for SocketType