pub(crate) struct Synced {
pub(super) is_closed: bool,
pub(super) head: Option<RawTask>,
pub(super) tail: Option<RawTask>,
}
Fields§
§is_closed: bool
True 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 !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