pub struct Http { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Backend for Http
impl Backend for Http
Source§type Intermediate = String
type Intermediate = String
The Intermediate type required by the
Backend.Source§fn call(
&mut self,
call: Call<Self::Intermediate>,
) -> Result<Reply<Self::Intermediate>>
fn call( &mut self, call: Call<Self::Intermediate>, ) -> Result<Reply<Self::Intermediate>>
Source§fn serialize<T: Serialize>(from: &T) -> Result<String>
fn serialize<T: Serialize>(from: &T) -> Result<String>
Serializes a type
T to the Intermediate type.Source§fn deserialize<'b, T>(from: &'b Self::Intermediate) -> Result<T>where
T: for<'de> Deserialize<'de>,
fn deserialize<'b, T>(from: &'b Self::Intermediate) -> Result<T>where
T: for<'de> Deserialize<'de>,
Deserializes the
Intermediate type to a type T.Auto Trait Implementations§
impl !Freeze for Http
impl !RefUnwindSafe for Http
impl Send for Http
impl Sync for Http
impl Unpin for Http
impl !UnwindSafe for Http
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