[][src]Enum gio::SocketProtocol

pub enum SocketProtocol {
    Unknown,
    Default,
    Tcp,
    Udp,
    Sctp,
    // some variants omitted
}

A protocol identifier is specified when creating a Socket, which is a family/type specific identifier, where 0 means the default protocol for the particular family/type.

This enum contains a set of commonly available and used protocols. You can also pass any other identifiers handled by the platform in order to use protocols not listed here.

Variants

Unknown
Default
Tcp
Udp
Sctp

Trait Implementations

impl Clone for SocketProtocol[src]

impl Copy for SocketProtocol[src]

impl Debug for SocketProtocol[src]

impl Display for SocketProtocol[src]

impl Eq for SocketProtocol[src]

impl<'a> FromValue<'a> for SocketProtocol[src]

impl<'a> FromValueOptional<'a> for SocketProtocol[src]

impl Hash for SocketProtocol[src]

impl Ord for SocketProtocol[src]

impl PartialEq<SocketProtocol> for SocketProtocol[src]

impl PartialOrd<SocketProtocol> for SocketProtocol[src]

impl SetValue for SocketProtocol[src]

impl StaticType for SocketProtocol[src]

impl StructuralEq for SocketProtocol[src]

impl StructuralPartialEq for SocketProtocol[src]

Auto Trait Implementations

impl RefUnwindSafe for SocketProtocol

impl Send for SocketProtocol

impl Sync for SocketProtocol

impl Unpin for SocketProtocol

impl UnwindSafe for SocketProtocol

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.