pub enum MemoryRecollection {
Recalled {
entries: Vec<MemoryEntry>,
relations: Vec<MemoryRelation>,
},
Unsupported,
}Expand description
Entries and relations recalled from durable memory.
Variants§
Implementations§
Source§impl MemoryRecollection
impl MemoryRecollection
pub fn of(entries: Vec<MemoryEntry>) -> Self
pub fn nothing() -> Self
pub fn entries(&self) -> &[MemoryEntry]
pub fn relations(&self) -> &[MemoryRelation]
pub const fn is_supported(&self) -> bool
Trait Implementations§
Source§impl Clone for MemoryRecollection
impl Clone for MemoryRecollection
Source§impl Debug for MemoryRecollection
impl Debug for MemoryRecollection
impl Eq for MemoryRecollection
Source§impl PartialEq for MemoryRecollection
impl PartialEq for MemoryRecollection
impl StructuralPartialEq for MemoryRecollection
Auto Trait Implementations§
impl Freeze for MemoryRecollection
impl RefUnwindSafe for MemoryRecollection
impl Send for MemoryRecollection
impl Sync for MemoryRecollection
impl Unpin for MemoryRecollection
impl UnsafeUnpin for MemoryRecollection
impl UnwindSafe for MemoryRecollection
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