Struct tokio_util::sync::cancellation_token::tree_node::TreeNode
source · pub(crate) struct TreeNode {
inner: Mutex<Inner>,
waker: Notify,
}
Expand description
A node of the cancellation tree structure
The actual data it holds is wrapped inside a mutex for synchronization.
Fields§
§inner: Mutex<Inner>
§waker: Notify
Implementations§
Auto Trait Implementations§
impl !Freeze for TreeNode
impl RefUnwindSafe for TreeNode
impl Send for TreeNode
impl Sync for TreeNode
impl Unpin for TreeNode
impl UnwindSafe for TreeNode
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