pub struct HttpMux { /* private fields */ }Expand description
Compiled fair schedule plus the readiness gate for this HTTP walk.
Implementations§
Source§impl HttpMux
impl HttpMux
pub fn compile( inventory: &Inventory<'_>, selections: &[PrincipalSelection<'_>], present: &[u32], ) -> Result<Self, ProviderError>
pub fn next_unit(&mut self) -> Option<ScheduledUnit>
pub fn acknowledge(&mut self, unit: ScheduledUnit) -> Result<(), ProviderError>
pub fn acknowledge_complete( &mut self, principal: u64, entry_id: Option<u32>, leaf: u64, ) -> Result<(), ProviderError>
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<(), ProviderError>
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 HttpMux
impl RefUnwindSafe for HttpMux
impl Send for HttpMux
impl Sync for HttpMux
impl Unpin for HttpMux
impl UnsafeUnpin for HttpMux
impl UnwindSafe for HttpMux
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