pub struct ActiveCall { /* private fields */ }Expand description
An in-flight framework boundary.
Dropping it without calling ActiveCall::succeed or
ActiveCall::fail emits an abandoned finish record, which preserves a
balanced trace when a future is cancelled or unwinds.
Implementations§
Source§impl ActiveCall
impl ActiveCall
pub fn context(&self) -> &CallContext
pub fn succeed(self)
pub fn fail(self, error: &SaddleError)
Trait Implementations§
Source§impl Drop for ActiveCall
impl Drop for ActiveCall
Auto Trait Implementations§
impl Freeze for ActiveCall
impl RefUnwindSafe for ActiveCall
impl Send for ActiveCall
impl Sync for ActiveCall
impl Unpin for ActiveCall
impl UnsafeUnpin for ActiveCall
impl UnwindSafe for ActiveCall
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