Struct exocore_discovery::server::Server[][src]

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

Discovery service server.

The discovery service is a simple REST API on which clients can push temporary payload for which the server generates a random PIN. Another client can then retrieve that payload by using the generated random PIN. Once a payload is consumed, it is deleted.

Payloads expires after a certain configured delay.

Implementations

Creates an instance of the server. Needs to be started using the start method in order to start listening for requests.

Starts the server that will listens for requests and block forever or until failure.

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

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.