pub struct Budget<'poll, 'd> { /* private fields */ }Expand description
Remaining application-lane credits for one root poll.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'poll, 'd> !RefUnwindSafe for Budget<'poll, 'd>
impl<'poll, 'd> !Send for Budget<'poll, 'd>
impl<'poll, 'd> !Sync for Budget<'poll, 'd>
impl<'poll, 'd> !UnwindSafe for Budget<'poll, 'd>
impl<'poll, 'd> Forget for Budget<'poll, 'd>
impl<'poll, 'd> Freeze for Budget<'poll, 'd>
impl<'poll, 'd> Move for Budget<'poll, 'd>
impl<'poll, 'd> Unpin for Budget<'poll, 'd>
impl<'poll, 'd> UnsafeUnpin for Budget<'poll, 'd>where
Root<'d, Shared<Context<Receive>>>: UnsafeUnpin,
PhantomData<(fn(&'d ()) -> &'d (), ThreadBound)>: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
PhantomData<*mut ()>: UnsafeUnpin,
&'poll Core<'d>: UnsafeUnpin,
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