#[non_exhaustive]pub enum MemoryTarget {
Path(String),
MemoryId(String),
}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.
Implementations§
Trait Implementations§
Source§impl Clone for MemoryTarget
impl Clone for MemoryTarget
Source§impl Debug for MemoryTarget
impl Debug for MemoryTarget
impl Eq for MemoryTarget
Source§impl PartialEq for MemoryTarget
impl PartialEq for MemoryTarget
impl StructuralPartialEq for MemoryTarget
Auto Trait Implementations§
impl Forget for MemoryTarget
impl Freeze for MemoryTarget
impl Move for MemoryTarget
impl RefUnwindSafe for MemoryTarget
impl Send for MemoryTargetwhere
RawVecInner: Send,
impl Sync for MemoryTargetwhere
RawVecInner: Sync,
impl Unpin for MemoryTarget
impl UnsafeUnpin for MemoryTarget
impl UnwindSafe for MemoryTargetwhere
RawVecInner: 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