pub struct MuxTransfer { /* private fields */ }Expand description
Compiled fair schedule plus the readiness gate for this walk.
Implementations§
Source§impl MuxTransfer
impl MuxTransfer
pub fn compile( inventory: &Inventory<'_>, selections: &[PrincipalSelection<'_>], present: &[u32], ) -> Result<Self, Error>
pub fn next_unit(&mut self) -> Option<ScheduledUnit>
pub fn acknowledge(&mut self, unit: ScheduledUnit) -> Result<(), Error>
pub fn acknowledge_complete( &mut self, principal: u64, entry_id: Option<u32>, leaf: u64, ) -> Result<(), Error>
pub fn cancel(&mut self, entry_id: u32, region: Option<Region>) -> usize
pub fn occupancy_retained( &self, principal: u64, entry_id: Option<u32>, leaf: u64, ) -> bool
pub fn push_control( &mut self, principal: u64, unit: RecordUnit, ) -> Result<(), Error>
pub fn is_charged(&self, entry_id: u32) -> bool
pub const fn cancelled_skipped(&self) -> u16
pub const fn len(&self) -> usize
Auto Trait Implementations§
impl Freeze for MuxTransfer
impl RefUnwindSafe for MuxTransfer
impl Send for MuxTransfer
impl Sync for MuxTransfer
impl Unpin for MuxTransfer
impl UnsafeUnpin for MuxTransfer
impl UnwindSafe for MuxTransfer
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 more