Struct cashweb_keyserver_client::services::SampleRequest[][src]

pub struct SampleRequest<T> {
    pub uris: Vec<Uri>,
    pub request: T,
}

Request for performing multiple requests to a range of keyservers.

Fields

uris: Vec<Uri>

The Uris of the targetted keyservers.

request: T

The request to be broadcast.

Trait Implementations

impl<T: Clone> Clone for SampleRequest<T>[src]

impl<T: Debug> Debug for SampleRequest<T>[src]

impl<T: Eq> Eq for SampleRequest<T>[src]

impl<T: PartialEq> PartialEq<SampleRequest<T>> for SampleRequest<T>[src]

impl<S, T> Service<SampleRequest<T>> for KeyserverClient<S> where
    T: Send + 'static + Clone + Sized,
    S: Send + Clone + 'static,
    Self: Service<(Uri, T)>,
    Self::Response: Send + Debug,
    Self::Error: Debug + Display + Send,
    Self::Future: Send
[src]

type Response = Vec<(Uri, Result<Self::Response, Self::Error>)>

Responses given by the service.

type Error = SampleError<Self::Error>

Errors produced by the service.

type Future = Pin<Box<dyn Future<Output = Result<Self::Response, Self::Error>> + Send + 'static>>

The future response value.

impl<T> StructuralEq for SampleRequest<T>[src]

impl<T> StructuralPartialEq for SampleRequest<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for SampleRequest<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for SampleRequest<T> where
    T: Send
[src]

impl<T> Sync for SampleRequest<T> where
    T: Sync
[src]

impl<T> Unpin for SampleRequest<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for SampleRequest<T> where
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,