pub enum Destination<'p> {
Node(&'p NodeId),
Away(&'p Host),
}Expand description
What decides where one part of a plan runs.
Variants§
Node(&'p NodeId)
A node, whose host — if it has one — the Placement knows.
Away(&'p Host)
A slice that already says where it goes.
Trait Implementations§
Source§impl<'p> Clone for Destination<'p>
impl<'p> Clone for Destination<'p>
Source§fn clone(&self) -> Destination<'p>
fn clone(&self) -> Destination<'p>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'p> Debug for Destination<'p>
impl<'p> Debug for Destination<'p>
Source§impl<'p> PartialEq for Destination<'p>
impl<'p> PartialEq for Destination<'p>
impl<'p> Copy for Destination<'p>
impl<'p> Eq for Destination<'p>
impl<'p> StructuralPartialEq for Destination<'p>
Auto Trait Implementations§
impl<'p> Freeze for Destination<'p>
impl<'p> RefUnwindSafe for Destination<'p>
impl<'p> Send for Destination<'p>
impl<'p> Sync for Destination<'p>
impl<'p> Unpin for Destination<'p>
impl<'p> UnsafeUnpin for Destination<'p>
impl<'p> UnwindSafe for Destination<'p>
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