Enum bee_network::Origin [−][src]
pub enum Origin {
Inbound,
Outbound,
}
Expand description
Describes direction of an established connection.
Variants
The connection is inbound (local=server).
The connection is outbound (local=client).
Implementations
Returns whether the connection is inbound.
Returns whether the connection is outbound.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Origin
impl UnwindSafe for Origin
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self