Skip to main content

LocalToDistributed

Trait LocalToDistributed 

Source
pub trait LocalToDistributed {
    type Distributed;

    // Required method
    fn to_distributed(&self) -> Self::Distributed;
}
Expand description

Converts local types to their distributed equivalents.

Required Associated Types§

Source

type Distributed

The distributed equivalent type.

Required Methods§

Source

fn to_distributed(&self) -> Self::Distributed

Converts to the distributed equivalent.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§