pub struct PushError<V, B, C>where
V: Identities,{
pub reason: PushRefusal<V>,
pub buffer: Option<B>,
pub context: C,
}Expand description
A refused push hands back what it was given: the buffer (None for a registered-span
operation, which has none) and the consumer’s context – a backend’s refusal included, which
hands its submission back whole (DI-D-52).
Fields§
§reason: PushRefusal<V>Why it was refused.
buffer: Option<B>The buffer it took, or None for a registered-span operation.
context: CThe consumer’s context.
Trait Implementations§
Auto Trait Implementations§
impl<V, B, C> !RefUnwindSafe for PushError<V, B, C>
impl<V, B, C> !UnwindSafe for PushError<V, B, C>
impl<V, B, C> Freeze for PushError<V, B, C>
impl<V, B, C> Send for PushError<V, B, C>
impl<V, B, C> Sync for PushError<V, B, C>
impl<V, B, C> Unpin for PushError<V, B, C>
impl<V, B, C> UnsafeUnpin for PushError<V, B, C>
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