pub enum MemoryCapability {
Remembering,
Recalling,
AnsweringQuestions,
TravellingInTime,
KeepingEvidence,
KeepingReasons,
FollowingReasons,
}Expand description
One capability advertised by a memory backend.
Variants§
Remembering
Recalling
AnsweringQuestions
TravellingInTime
KeepingEvidence
KeepingReasons
FollowingReasons
Implementations§
Trait Implementations§
Source§impl Clone for MemoryCapability
impl Clone for MemoryCapability
Source§fn clone(&self) -> MemoryCapability
fn clone(&self) -> MemoryCapability
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 MemoryCapability
Source§impl Debug for MemoryCapability
impl Debug for MemoryCapability
Source§impl<'de> Deserialize<'de> for MemoryCapability
impl<'de> Deserialize<'de> for MemoryCapability
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MemoryCapability
Source§impl Hash for MemoryCapability
impl Hash for MemoryCapability
Source§impl Ord for MemoryCapability
impl Ord for MemoryCapability
Source§fn cmp(&self, other: &MemoryCapability) -> Ordering
fn cmp(&self, other: &MemoryCapability) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MemoryCapability
impl PartialEq for MemoryCapability
Source§impl PartialOrd for MemoryCapability
impl PartialOrd for MemoryCapability
Source§impl Serialize for MemoryCapability
impl Serialize for MemoryCapability
impl StructuralPartialEq for MemoryCapability
Auto Trait Implementations§
impl Freeze for MemoryCapability
impl RefUnwindSafe for MemoryCapability
impl Send for MemoryCapability
impl Sync for MemoryCapability
impl Unpin for MemoryCapability
impl UnsafeUnpin for MemoryCapability
impl UnwindSafe for MemoryCapability
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