pub struct ConnectionPlan {
pub task_queue: String,
pub connections: Vec<Connection>,
pub servable: Vec<ServableAction>,
}Expand description
The whole plan for one queue: its connections and the servable actions behind them.
Fields§
§task_queue: StringThe queue (the document’s worker block name) every connection joins.
connections: Vec<Connection>One entry per node, in first-declaration order.
servable: Vec<ServableAction>Every action needing an out-of-band worker, in declaration order — the union of the connections’ action lists, and exactly the set of handler stubs the author owes.
Trait Implementations§
Source§impl Clone for ConnectionPlan
impl Clone for ConnectionPlan
Source§fn clone(&self) -> ConnectionPlan
fn clone(&self) -> ConnectionPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConnectionPlan
impl Debug for ConnectionPlan
impl Eq for ConnectionPlan
Source§impl PartialEq for ConnectionPlan
impl PartialEq for ConnectionPlan
impl StructuralPartialEq for ConnectionPlan
Auto Trait Implementations§
impl Freeze for ConnectionPlan
impl RefUnwindSafe for ConnectionPlan
impl Send for ConnectionPlan
impl Sync for ConnectionPlan
impl Unpin for ConnectionPlan
impl UnsafeUnpin for ConnectionPlan
impl UnwindSafe for ConnectionPlan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.