pub struct InMemoryGenericAgentCheckpointStore { /* private fields */ }Trait Implementations§
Source§impl Default for InMemoryGenericAgentCheckpointStore
impl Default for InMemoryGenericAgentCheckpointStore
Source§fn default() -> InMemoryGenericAgentCheckpointStore
fn default() -> InMemoryGenericAgentCheckpointStore
Returns the “default value” for a type. Read more
Source§impl GenericAgentCheckpointStore for InMemoryGenericAgentCheckpointStore
impl GenericAgentCheckpointStore for InMemoryGenericAgentCheckpointStore
fn load_run( &self, run_id: &RunId, ) -> Result<Option<StoredGenericAgentRun>, GenericCheckpointError>
fn create_run( &self, registration: GenericAgentRunRegistration, ) -> Result<CreateGenericRunOutcome, GenericCheckpointError>
fn append( &self, run_id: &RunId, expected_previous: u64, draft: GenericCheckpointDraft, ) -> Result<AppendGenericCheckpointOutcome, GenericCheckpointError>
Auto Trait Implementations§
impl !Freeze for InMemoryGenericAgentCheckpointStore
impl RefUnwindSafe for InMemoryGenericAgentCheckpointStore
impl Send for InMemoryGenericAgentCheckpointStore
impl Sync for InMemoryGenericAgentCheckpointStore
impl Unpin for InMemoryGenericAgentCheckpointStore
impl UnsafeUnpin for InMemoryGenericAgentCheckpointStore
impl UnwindSafe for InMemoryGenericAgentCheckpointStore
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.