pub enum MessagePartition {
System,
History,
}Expand description
Which partition a StoredMessageState belongs to.
Only the two positional partitions: knowledge entries are keyed slots with their own lifecycle
flags, so they live in KnowledgeSlotState instead of being a third value here.
Variants§
Trait Implementations§
Source§impl Clone for MessagePartition
impl Clone for MessagePartition
Source§fn clone(&self) -> MessagePartition
fn clone(&self) -> MessagePartition
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 MessagePartition
Source§impl Debug for MessagePartition
impl Debug for MessagePartition
Source§impl<'de> Deserialize<'de> for MessagePartition
impl<'de> Deserialize<'de> for MessagePartition
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 MessagePartition
Source§impl PartialEq for MessagePartition
impl PartialEq for MessagePartition
Source§impl Serialize for MessagePartition
impl Serialize for MessagePartition
impl StructuralPartialEq for MessagePartition
Auto Trait Implementations§
impl Freeze for MessagePartition
impl RefUnwindSafe for MessagePartition
impl Send for MessagePartition
impl Sync for MessagePartition
impl Unpin for MessagePartition
impl UnsafeUnpin for MessagePartition
impl UnwindSafe for MessagePartition
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