Struct message_io::network::adapter::ListeningInfo[][src]

pub struct ListeningInfo<L: Local> {
    pub local: L,
    pub local_addr: SocketAddr,
}
Expand description

Plain struct used as a returned value of Local::listen()

Fields

local: L

The new created local resource

local_addr: SocketAddr

Local address generated after perform the listening action.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.