pub trait LocalDeploy<'a> {
type Process: Node<Meta = Self::Meta>;
type Cluster: Node<Meta = Self::Meta>;
type ExternalProcess: Node<Meta = Self::Meta>;
type Meta: Default;
type GraphId;
// Provided methods
fn has_trivial_node() -> bool { ... }
fn trivial_process(_id: usize) -> Self::Process { ... }
fn trivial_cluster(_id: usize) -> Self::Cluster { ... }
fn trivial_external(_id: usize) -> Self::ExternalProcess { ... }
}
Available on crate feature
build
only.Required Associated Types§
type Process: Node<Meta = Self::Meta>
type Cluster: Node<Meta = Self::Meta>
type ExternalProcess: Node<Meta = Self::Meta>
type Meta: Default
type GraphId
Provided Methods§
fn has_trivial_node() -> bool
fn trivial_process(_id: usize) -> Self::Process
fn trivial_cluster(_id: usize) -> Self::Cluster
fn trivial_external(_id: usize) -> Self::ExternalProcess
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.