Enum ckb_network::SessionType [−][src]
pub enum SessionType {
Outbound,
Inbound,
}Expand description
Indicates the session type
Variants
Representing yourself as the active party means that you are the client side
Representing yourself as a passive recipient means that you are the server side
Implementations
is outbound
is inbound
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SessionType
impl Send for SessionType
impl Sync for SessionType
impl Unpin for SessionType
impl UnwindSafe for SessionType
Blanket Implementations
Mutably borrows from an owned value. Read more