pub struct InMemoryBackend { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Backend for InMemoryBackend
impl Backend for InMemoryBackend
type Output = SimpleOutput
type RollbackToken = String
type Error = Infallible
source§async fn request(
&self,
input: SimpleInput
) -> Result<(Decision, Self::Output, Self::RollbackToken), Self::Error>
async fn request( &self, input: SimpleInput ) -> Result<(Decision, Self::Output, Self::RollbackToken), Self::Error>
Process an incoming request. Read more
source§impl Clone for InMemoryBackend
impl Clone for InMemoryBackend
source§fn clone(&self) -> InMemoryBackend
fn clone(&self) -> InMemoryBackend
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Drop for InMemoryBackend
impl Drop for InMemoryBackend
source§impl SimpleBackend for InMemoryBackend
impl SimpleBackend for InMemoryBackend
Auto Trait Implementations§
impl !RefUnwindSafe for InMemoryBackend
impl Send for InMemoryBackend
impl Sync for InMemoryBackend
impl Unpin for InMemoryBackend
impl !UnwindSafe for InMemoryBackend
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