pub struct StateLifecycleCapabilities { /* private fields */ }Expand description
Collection-independent facilities of a backend’s mutable-state implementation.
Implementations§
Source§impl StateLifecycleCapabilities
impl StateLifecycleCapabilities
Sourcepub const fn with_transactions(self, checkpoint: bool, rollback: bool) -> Self
pub const fn with_transactions(self, checkpoint: bool, rollback: bool) -> Self
Declares exact checkpoint and rollback support.
Sourcepub const fn with_reset(self, supported: bool) -> Self
pub const fn with_reset(self, supported: bool) -> Self
Declares complete reset support.
Sourcepub const fn with_prompt_cache(self, supported: bool) -> Self
pub const fn with_prompt_cache(self, supported: bool) -> Self
Declares persistence and restoration support for the requested state policy.
Sourcepub const fn with_observation_retention(self, supported: bool) -> Self
pub const fn with_observation_retention(self, supported: bool) -> Self
Declares retention of state components through observed submissions.
Trait Implementations§
Source§impl Clone for StateLifecycleCapabilities
impl Clone for StateLifecycleCapabilities
Source§fn clone(&self) -> StateLifecycleCapabilities
fn clone(&self) -> StateLifecycleCapabilities
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 StateLifecycleCapabilities
Source§impl Debug for StateLifecycleCapabilities
impl Debug for StateLifecycleCapabilities
Source§impl Default for StateLifecycleCapabilities
impl Default for StateLifecycleCapabilities
Source§fn default() -> StateLifecycleCapabilities
fn default() -> StateLifecycleCapabilities
Returns the “default value” for a type. Read more
impl Eq for StateLifecycleCapabilities
impl StructuralPartialEq for StateLifecycleCapabilities
Auto Trait Implementations§
impl Freeze for StateLifecycleCapabilities
impl RefUnwindSafe for StateLifecycleCapabilities
impl Send for StateLifecycleCapabilities
impl Sync for StateLifecycleCapabilities
impl Unpin for StateLifecycleCapabilities
impl UnsafeUnpin for StateLifecycleCapabilities
impl UnwindSafe for StateLifecycleCapabilities
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