pub struct AbortSignal { /* private fields */ }Expand description
A cancellation signal analogous to the Web AbortSignal.
Timeouts are deliberately not encoded as cancellation reasons. Core owns
timeout deadlines and returns crate::AiMuxError::Timeout directly;
this type represents only caller-requested cancellation.
Implementations§
Source§impl AbortSignal
impl AbortSignal
Trait Implementations§
Source§impl Clone for AbortSignal
impl Clone for AbortSignal
Source§impl Debug for AbortSignal
impl Debug for AbortSignal
Auto Trait Implementations§
impl Freeze for AbortSignal
impl RefUnwindSafe for AbortSignal
impl Send for AbortSignal
impl Sync for AbortSignal
impl Unpin for AbortSignal
impl UnsafeUnpin for AbortSignal
impl UnwindSafe for AbortSignal
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