Struct distant_core::DistantServer[][src]

pub struct DistantServer { /* fields omitted */ }
Expand description

Represents a server that listens for requests, processes them, and sends responses

Implementations

Bind to an IP address and port from the given range, taking an optional shutdown duration that will shutdown the server if there is no active connection after duration

Initialize a distant server using the provided listener

Waits for the server to terminate

Aborts the server by aborting the internal task handling new connections

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.