pub struct LatticeControllerSender<T> where
    T: Transport
{ /* private fields */ }
Expand description

LatticeControllerSender sends messages to a LatticeController service Lattice Controller - Describes the interface used for actors to communicate with a lattice controller, enabling developers to deploy actors that can manipulate the lattice in which they’re running. client for sending LatticeController messages

Implementations

Constructs a LatticeControllerSender with the specified transport

Trait Implementations

Formats the value using the given formatter. Read more

Seek out a list of suitable hosts for a capability provider given a set of host label constraints. Hosts on which this provider is already running will not be among the successful “bidders” in this auction.

Seek out a list of suitable hosts for an actor given a set of host label constraints.

Queries the list of hosts currently visible to the lattice. This is a “gather” operation and so can be influenced by short timeouts, network partition events, etc.

Queries for the contents of a host given the supplied 56-character unique ID

Queries the lattice for the list of known/cached claims by taking the response from the first host that answers the query.

Instructs a given host to scale the indicated actor

Instructs a given host to start the indicated actor

Publish a link definition into the lattice, allowing it to be cached and delivered to the appropriate capability provider instances

Requests the removal of a link definition. The definition will be removed from the cache and the relevant capability providers will be given a chance to de-provision any used resources

Queries all current link definitions in the lattice. The first host that receives this response will reply with the contents of the distributed cache

Requests that a specific host perform a live update on the indicated actor

Requests that the given host start the indicated capability provider

Requests that the given capability provider be stopped on the indicated host

Requests that an actor be stopped on the given host

Requests that the given host be stopped

returns the capability contract id for this interface

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.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

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.