pub struct TransferPlan<T> {
pub items: Vec<TransferCandidate<T>>,
pub summary: TransferSummary,
}Expand description
Selected candidates in deterministic execution and output order.
Fields§
§items: Vec<TransferCandidate<T>>§summary: TransferSummaryImplementations§
Source§impl<T> TransferPlan<T>
impl<T> TransferPlan<T>
Sourcepub fn build(
candidates: Vec<TransferCandidate<T>>,
selection: &TransferSelection,
) -> Self
pub fn build( candidates: Vec<TransferCandidate<T>>, selection: &TransferSelection, ) -> Self
Filter and sort candidates without performing any transfer.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for TransferPlan<T>
impl<T> RefUnwindSafe for TransferPlan<T>where
T: RefUnwindSafe,
impl<T> Send for TransferPlan<T>where
T: Send,
impl<T> Sync for TransferPlan<T>where
T: Sync,
impl<T> Unpin for TransferPlan<T>where
T: Unpin,
impl<T> UnsafeUnpin for TransferPlan<T>
impl<T> UnwindSafe for TransferPlan<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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