pub struct QueueLayout { /* private fields */ }Implementations§
Source§impl QueueLayout
impl QueueLayout
Sourcepub const fn fixed<const SUBMISSIONS: u32, const COMPLETIONS: u32>() -> Self
pub const fn fixed<const SUBMISSIONS: u32, const COMPLETIONS: u32>() -> Self
Creates a queue layout validated during compilation.
Sourcepub fn resolve(self, need: Submit) -> Result<Self, Claim>
pub fn resolve(self, need: Submit) -> Result<Self, Claim>
Enlarges submission capacity and keeps the completion queue at least as large.
pub const fn submission(self) -> Submission
Trait Implementations§
Source§impl Clone for QueueLayout
impl Clone for QueueLayout
impl Copy for QueueLayout
Source§impl Debug for QueueLayout
impl Debug for QueueLayout
impl Eq for QueueLayout
Source§impl PartialEq for QueueLayout
impl PartialEq for QueueLayout
impl StructuralPartialEq for QueueLayout
Auto Trait Implementations§
impl Freeze for QueueLayout
impl RefUnwindSafe for QueueLayout
impl Send for QueueLayout
impl Sync for QueueLayout
impl Unpin for QueueLayout
impl UnsafeUnpin for QueueLayout
impl UnwindSafe for QueueLayout
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