#[non_exhaustive]pub enum MemoryPoolAttributeValue {
Bool(bool),
Bytes(u64),
}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.
Trait Implementations§
Source§impl Clone for MemoryPoolAttributeValue
impl Clone for MemoryPoolAttributeValue
Source§fn clone(&self) -> MemoryPoolAttributeValue
fn clone(&self) -> MemoryPoolAttributeValue
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 Copy for MemoryPoolAttributeValue
Source§impl Debug for MemoryPoolAttributeValue
impl Debug for MemoryPoolAttributeValue
impl Eq for MemoryPoolAttributeValue
Source§impl Hash for MemoryPoolAttributeValue
impl Hash for MemoryPoolAttributeValue
Source§impl PartialEq for MemoryPoolAttributeValue
impl PartialEq for MemoryPoolAttributeValue
Source§fn eq(&self, other: &MemoryPoolAttributeValue) -> bool
fn eq(&self, other: &MemoryPoolAttributeValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MemoryPoolAttributeValue
Auto Trait Implementations§
impl Freeze for MemoryPoolAttributeValue
impl RefUnwindSafe for MemoryPoolAttributeValue
impl Send for MemoryPoolAttributeValue
impl Sync for MemoryPoolAttributeValue
impl Unpin for MemoryPoolAttributeValue
impl UnsafeUnpin for MemoryPoolAttributeValue
impl UnwindSafe for MemoryPoolAttributeValue
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