pub enum MegakernelWorkspaceLayoutError<R> {
RecordWordsOverflow {
region: R,
},
OffsetOverflow {
region: R,
},
}Expand description
Error returned by bulk resident-workspace layout planning.
Variants§
RecordWordsOverflow
record_words * capacity_records overflowed for this record-backed region.
Fields
§
region: RRegion whose record arena overflowed.
OffsetOverflow
Contiguous region offset arithmetic overflowed for this region.
Fields
§
region: RRegion whose starting offset could not fit the accumulated layout.
Trait Implementations§
Source§impl<R: Clone> Clone for MegakernelWorkspaceLayoutError<R>
impl<R: Clone> Clone for MegakernelWorkspaceLayoutError<R>
Source§fn clone(&self) -> MegakernelWorkspaceLayoutError<R>
fn clone(&self) -> MegakernelWorkspaceLayoutError<R>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<R: Copy> Copy for MegakernelWorkspaceLayoutError<R>
Source§impl<R: Debug> Debug for MegakernelWorkspaceLayoutError<R>
impl<R: Debug> Debug for MegakernelWorkspaceLayoutError<R>
impl<R: Eq> Eq for MegakernelWorkspaceLayoutError<R>
Source§impl<R: PartialEq> PartialEq for MegakernelWorkspaceLayoutError<R>
impl<R: PartialEq> PartialEq for MegakernelWorkspaceLayoutError<R>
Source§fn eq(&self, other: &MegakernelWorkspaceLayoutError<R>) -> bool
fn eq(&self, other: &MegakernelWorkspaceLayoutError<R>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<R: PartialEq> StructuralPartialEq for MegakernelWorkspaceLayoutError<R>
Auto Trait Implementations§
impl<R> Freeze for MegakernelWorkspaceLayoutError<R>where
R: Freeze,
impl<R> RefUnwindSafe for MegakernelWorkspaceLayoutError<R>where
R: RefUnwindSafe,
impl<R> Send for MegakernelWorkspaceLayoutError<R>where
R: Send,
impl<R> Sync for MegakernelWorkspaceLayoutError<R>where
R: Sync,
impl<R> Unpin for MegakernelWorkspaceLayoutError<R>where
R: Unpin,
impl<R> UnsafeUnpin for MegakernelWorkspaceLayoutError<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for MegakernelWorkspaceLayoutError<R>where
R: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.