pub struct Token {
pub seq: u32,
pub id: u16,
}Expand description
A token representing a sent chain in the virtqueue.
Tokens uniquely identify in-flight requests and are used to correlate requests with their responses.
Fields§
§seq: u32Monotonically increasing generation counter.
id: u16Descriptor ID this token maps to.
Trait Implementations§
impl Copy for Token
impl Eq for Token
impl StructuralPartialEq for Token
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnsafeUnpin for Token
impl UnwindSafe for Token
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