Struct ar_pe_ce::ClientInner [−][src]
pub struct ClientInner { /* fields omitted */ }
Implementations
impl ClientInner
[src]
impl ClientInner
[src]pub fn new(url: Url) -> ClientInner
[src]
pub async fn get<T, O>(
&'_ self,
method: &'static str,
args: impl Stream<Item = Result<O, Error>> + Send + 'static
) -> Result<Pin<Box<dyn Stream<Item = Result<T, Error>> + 'static + Send, Global>>, Error> where
T: DeserializeOwned + Send + 'static,
O: Serialize + 'static,
[src]
&'_ self,
method: &'static str,
args: impl Stream<Item = Result<O, Error>> + Send + 'static
) -> Result<Pin<Box<dyn Stream<Item = Result<T, Error>> + 'static + Send, Global>>, Error> where
T: DeserializeOwned + Send + 'static,
O: Serialize + 'static,
Auto Trait Implementations
impl !RefUnwindSafe for ClientInner
impl Send for ClientInner
impl Sync for ClientInner
impl Unpin for ClientInner
impl !UnwindSafe for ClientInner
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]