pub struct SurfClient(/* private fields */);Implementations§
Source§impl SurfClient
impl SurfClient
pub fn new() -> Self
pub fn with_client(client: Client) -> Self
Source§impl SurfClient
impl SurfClient
pub async fn call<Req: ClientRequest>( &self, client_request: Req, ) -> Result<Req::Response>
Auto Trait Implementations§
impl Freeze for SurfClient
impl !RefUnwindSafe for SurfClient
impl Send for SurfClient
impl Sync for SurfClient
impl Unpin for SurfClient
impl !UnwindSafe for SurfClient
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