Module tarpc::util [] [src]

Provides some utility error types, as well as a trait for spawning futures on the default event loop.

Structs

Lazy

A future which defers creation of the actual future until a callback is scheduled.

Message

A String that impls std::error::Error. Useful for quick-and-dirty error propagation.

Never

A bottom type that impls Error, Serialize, and Deserialize. It is impossible to instantiate this type.

Traits

FirstSocketAddr

Provides a utility method for more ergonomically parsing a SocketAddr when only one is needed.

Functions

lazy

Creates a new future which will eventually be the same as the one created by calling the closure provided with the arguments provided.