Enum netcore::transport::ConnectionOrigin [−][src]
pub enum ConnectionOrigin {
Inbound,
Outbound,
}Expand description
Origin of how a Connection was established.
Variants
Inbound indicates that we are the listener for this connection.
Outbound indicates that we are the dialer for this connection.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ConnectionOrigin
impl Send for ConnectionOrigin
impl Sync for ConnectionOrigin
impl Unpin for ConnectionOrigin
impl UnwindSafe for ConnectionOrigin
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.