Struct scaproust::Session [] [src]

pub struct Session { /* fields omitted */ }

Creates sockets and devices.

Methods

impl Session
[src]

[src]

Creates a socket with the specified protocol, which in turn determines its exact semantics. See the proto module for a list of built-in protocols. The newly created socket is initially not associated with any endpoints. In order to establish a message flow at least one endpoint has to be added to the socket using connect and bind methods.

[src]

Creates a loopback device that loops and sends any messages received from the socket back to itself.

[src]

Creates a bridge device to forward messages between two sockets. It loops and sends any messages received from left to right and vice versa.

[src]

Creates a probe for polling sockets

Trait Implementations

impl Drop for Session
[src]

[src]

Executes the destructor for this type. Read more