Endpoint

Trait Endpoint 

Source
pub trait Endpoint<Specialized = ()>: MaybeSend + MaybeSync {
    type Output: MaybeSend + MaybeSync;

    // Required methods
    fn grpc_endpoint(&self) -> Cow<'static, str>;
    fn body(&self) -> Result<Bytes, BodyError>;
}
Expand description

provides the necessary information for a backend API call. Indicates the Output type

Required Associated Types§

Required Methods§

Source

fn grpc_endpoint(&self) -> Cow<'static, str>

Source

fn body(&self) -> Result<Bytes, BodyError>

Implementors§

Source§

impl<E, Spec> Endpoint<RetrySpecialized<Spec>> for RetryQuery<E>
where E: Endpoint<Spec>, Spec: MaybeSend + MaybeSync,

Source§

type Output = <E as Endpoint<Spec>>::Output

Source§

impl<S, E: Endpoint<S>> Endpoint<IgnoreSpecialized<S>> for Ignore<E>

Source§

type Output = <E as Endpoint<S>>::Output

Source§

impl<S, E: Endpoint<S>, T: MaybeSend + MaybeSync> Endpoint<V3PagedSpecialized<S>> for V3Paged<E, T>

Source§

type Output = <E as Endpoint<S>>::Output