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§
Source§impl<'a> AsMut<Synced> for InjectGuard<'a>
impl<'a> AsMut<Synced> for InjectGuard<'a>
impl Send for Synced
impl Sync for Synced
Auto Trait Implementations§
impl Freeze for Synced
impl !RefUnwindSafe for Synced
impl Unpin for Synced
impl UnsafeUnpin for Synced
impl !UnwindSafe 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