Struct budget_executor::BudgetResult
source · [−]pub struct BudgetResult<T, Budget> {
pub output: T,
pub balance: Budget,
}
Expand description
The result of a completed future.
Fields
output: T
The output of the future.
balance: Budget
The budget after completing the future.
Trait Implementations
Auto Trait Implementations
impl<T, Budget> RefUnwindSafe for BudgetResult<T, Budget> where
Budget: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, Budget> Send for BudgetResult<T, Budget> where
Budget: Send,
T: Send,
impl<T, Budget> Sync for BudgetResult<T, Budget> where
Budget: Sync,
T: Sync,
impl<T, Budget> Unpin for BudgetResult<T, Budget> where
Budget: Unpin,
T: Unpin,
impl<T, Budget> UnwindSafe for BudgetResult<T, Budget> where
Budget: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more