Skip to main content

FromRoute

Trait FromRoute 

Source
pub trait FromRoute<T>: Sized {
    // Required method
    fn from_route(transport: T, route: Route) -> Self;
}
Expand description

A generated client made at a route: what Untyped::typed turns an untyped client into. The activation macro implements it for every client it emits (XClient<T>, its events its own).

Required Methods§

Source

fn from_route(transport: T, route: Route) -> Self

The client of the node at route, over transport.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§