pub struct SessionScratchpadStore { /* private fields */ }Expand description
In-memory, session-scoped ScratchpadStore — pure (no fs), discarded at
session end / /new. A BTreeMap keeps the <state> block in deterministic
(sorted) order for stable tests.
Trait Implementations§
Source§impl Default for SessionScratchpadStore
impl Default for SessionScratchpadStore
Source§fn default() -> SessionScratchpadStore
fn default() -> SessionScratchpadStore
Returns the “default value” for a type. Read more
Source§impl ScratchpadStore for SessionScratchpadStore
impl ScratchpadStore for SessionScratchpadStore
Auto Trait Implementations§
impl !Freeze for SessionScratchpadStore
impl RefUnwindSafe for SessionScratchpadStore
impl Send for SessionScratchpadStore
impl Sync for SessionScratchpadStore
impl Unpin for SessionScratchpadStore
impl UnsafeUnpin for SessionScratchpadStore
impl UnwindSafe for SessionScratchpadStore
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more