pub(crate) struct Synced {
pub(super) is_closed: bool,
pub(super) head: Option<RawTask>,
pub(super) tail: Option<RawTask>,
}Fields§
§is_closed: boolTrue if the queue is closed.
head: Option<RawTask>Linked-list head.
tail: Option<RawTask>Linked-list tail.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Synced
impl !UnwindSafe for Synced
impl Freeze for Synced
impl Unpin for Synced
impl UnsafeUnpin for Synced
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