pub struct DemandSlot { /* private fields */ }Expand description
One serve leg’s handle on the serve demand of its blob’s live fills. Minted by
FillSession::demand_slot.
Self::stand routes the leg’s demand to the live fill whose covered range
holds the awaited byte, and withdraws it from every other fill of the hash:
only that fill’s pull can produce the byte. Dropping the slot withdraws the
demand, so a finished or abandoned leg leaves nothing standing.
Implementations§
Trait Implementations§
Source§impl Debug for DemandSlot
impl Debug for DemandSlot
Source§impl Drop for DemandSlot
impl Drop for DemandSlot
Auto Trait Implementations§
impl Freeze for DemandSlot
impl RefUnwindSafe for DemandSlot
impl Send for DemandSlot
impl Sync for DemandSlot
impl Unpin for DemandSlot
impl UnsafeUnpin for DemandSlot
impl UnwindSafe for DemandSlot
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.