pub struct InMemoryBackend { /* private fields */ }Trait Implementations§
Source§impl Clone for InMemoryBackend
impl Clone for InMemoryBackend
Source§fn clone(&self) -> InMemoryBackend
fn clone(&self) -> InMemoryBackend
Returns a duplicate 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 Debug for InMemoryBackend
impl Debug for InMemoryBackend
Source§impl Default for InMemoryBackend
impl Default for InMemoryBackend
Source§fn default() -> InMemoryBackend
fn default() -> InMemoryBackend
Returns the “default value” for a type. Read more
Source§impl<'a> Endpoint<'a> for InMemoryBackend
impl<'a> Endpoint<'a> for InMemoryBackend
Source§type Output = (Session<InMemorySession>,)
type Output = (Session<InMemorySession>,)
The inner type associated with this endpoint.
Source§type Future = FutureResult<<InMemoryBackend as Endpoint<'a>>::Output, Error>
type Future = FutureResult<<InMemoryBackend as Endpoint<'a>>::Output, Error>
The type of value which will be returned from
apply.Source§fn apply(&self, cx: &mut ApplyContext<'_>) -> ApplyResult<Self::Future>
fn apply(&self, cx: &mut ApplyContext<'_>) -> ApplyResult<Self::Future>
Perform checking the incoming HTTP request and returns
an instance of the associated Future if matched.
Source§fn with_output<T>(self) -> Self
fn with_output<T>(self) -> Self
Add an annotation that the associated type
Output is fixed to T.Auto Trait Implementations§
impl Freeze for InMemoryBackend
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, E> EndpointWrapExt<'a> for Ewhere
E: Endpoint<'a>,
impl<'a, E> EndpointWrapExt<'a> for Ewhere
E: Endpoint<'a>,
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