1 2 3 4 5 6 7
use crate::records::frontend_cancellation_token::FrontendCancellationToken; impl FrontendCancellationToken { pub fn requested(&self) -> bool { self.cancelled.load(core::sync::atomic::Ordering::Relaxed) } }