Enum gio::SocketClientEvent [−][src]
#[non_exhaustive] pub enum SocketClientEvent { Resolving, Resolved, Connecting, Connected, ProxyNegotiating, ProxyNegotiated, TlsHandshaking, TlsHandshaked, Complete, // some variants omitted }
Expand description
Describes an event occurring on a SocketClient
. See the
signal::SocketClient::event
signal for more details.
Additional values may be added to this type in the future.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
The client is doing a DNS lookup.
The client has completed a DNS lookup.
The client is connecting to a remote host (either a proxy or the destination server).
The client has connected to a remote host.
The client is negotiating with a proxy to connect to the destination server.
The client has negotiated with the proxy server.
The client is performing a TLS handshake.
The client has performed a TLS handshake.
The client is done with a particular
SocketConnectable
.
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for SocketClientEvent
impl Send for SocketClientEvent
impl Sync for SocketClientEvent
impl Unpin for SocketClientEvent
impl UnwindSafe for SocketClientEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.