Struct AccountedCallReport
pub struct AccountedCallReport { /* private fields */ }Expand description
Final immutable accounting projection for one dispatch-scoped call.
Implementations§
Source§impl AccountedCallReport
impl AccountedCallReport
Sourcepub fn attempts(&self) -> &[AccountedAttempt]
pub fn attempts(&self) -> &[AccountedAttempt]
Actual physical provider leaves, in first-poll order.
Sourcepub fn accounting_state(&self) -> CallAccountingState
pub fn accounting_state(&self) -> CallAccountingState
Conservative aggregate completeness derived from physical leaves.
Sourcepub fn rejected_attempts(&self) -> &[RejectedAttempt]
pub fn rejected_attempts(&self) -> &[RejectedAttempt]
Rejected attempts, in dispatch order, for cost-only accounting.
Sourcepub fn accepted_route(&self) -> Option<&AcceptedRoute>
pub fn accepted_route(&self) -> Option<&AcceptedRoute>
Accepted transport route, which remains provisional until runtime semantic acceptance commits its presentation fallback.
Sourcepub fn into_parts(self) -> (Vec<RejectedAttempt>, Option<AcceptedRoute>)
pub fn into_parts(self) -> (Vec<RejectedAttempt>, Option<AcceptedRoute>)
Consume this scope’s compatibility projection at the runtime semantic boundary.
pub fn into_attempts_and_parts( self, ) -> (Vec<AccountedAttempt>, Vec<RejectedAttempt>, Option<AcceptedRoute>)
Trait Implementations§
Source§impl Debug for AccountedCallReport
impl Debug for AccountedCallReport
Source§impl Default for AccountedCallReport
impl Default for AccountedCallReport
Source§fn default() -> AccountedCallReport
fn default() -> AccountedCallReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AccountedCallReport
impl RefUnwindSafe for AccountedCallReport
impl Send for AccountedCallReport
impl Sync for AccountedCallReport
impl Unpin for AccountedCallReport
impl UnsafeUnpin for AccountedCallReport
impl UnwindSafe for AccountedCallReport
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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>
§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 more