pub struct DemoTransport;Implementations§
Source§impl DemoTransport
impl DemoTransport
Trait Implementations§
Source§impl Clone for DemoTransport
impl Clone for DemoTransport
Source§fn clone(&self) -> DemoTransport
fn clone(&self) -> DemoTransport
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 moreSource§impl Default for DemoTransport
impl Default for DemoTransport
Source§fn default() -> DemoTransport
fn default() -> DemoTransport
Returns the “default value” for a type. Read more
Source§impl Transport for DemoTransport
impl Transport for DemoTransport
fn send(&self, request: RequestData) -> Result<ResponseData, AppError>
Auto Trait Implementations§
impl Freeze for DemoTransport
impl RefUnwindSafe for DemoTransport
impl Send for DemoTransport
impl Sync for DemoTransport
impl Unpin for DemoTransport
impl UnsafeUnpin for DemoTransport
impl UnwindSafe for DemoTransport
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<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