#[non_exhaustive]#[repr(u32)]pub enum Limit {
StackSize = 0,
PrintfFifoSize = 1,
MallocHeapSize = 2,
DevRuntimeSyncDepth = 3,
DevRuntimePendingLaunchCount = 4,
MaxL2FetchGranularity = 5,
PersistingL2CacheSize = 6,
Max = 10,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
StackSize = 0
PrintfFifoSize = 1
MallocHeapSize = 2
DevRuntimeSyncDepth = 3
DevRuntimePendingLaunchCount = 4
MaxL2FetchGranularity = 5
PersistingL2CacheSize = 6
Max = 10
Trait Implementations§
impl Copy for Limit
impl Eq for Limit
Source§impl From<CUlimit_enum> for Limit
impl From<CUlimit_enum> for Limit
impl StructuralPartialEq for Limit
Auto Trait Implementations§
impl Freeze for Limit
impl RefUnwindSafe for Limit
impl Send for Limit
impl Sync for Limit
impl Unpin for Limit
impl UnsafeUnpin for Limit
impl UnwindSafe for Limit
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