Struct cashweb_keyserver_client::services::SampleRequest [−][src]
Request for performing multiple requests to a range of keyservers.
Fields
uris: Vec<Uri>
The Uri
s of the targetted keyservers.
request: T
The request to be broadcast.
Trait Implementations
impl<T: Clone> Clone for SampleRequest<T>
[src]
fn clone(&self) -> SampleRequest<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn eq(&self, other: &SampleRequest<T>) -> bool
[src]
fn ne(&self, other: &SampleRequest<T>) -> bool
[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]
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,
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.
fn poll_ready(
&mut self,
context: &mut Context<'_>
) -> Poll<Result<(), Self::Error>>
[src]
&mut self,
context: &mut Context<'_>
) -> Poll<Result<(), Self::Error>>
fn call(
&mut self,
SampleRequest { uris, request }: SampleRequest<T>
) -> Self::Future
[src]
&mut self,
SampleRequest { uris, request }: SampleRequest<T>
) -> Self::Future
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]
T: RefUnwindSafe,
impl<T> Send for SampleRequest<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for SampleRequest<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for SampleRequest<T> where
T: Unpin,
[src]
T: Unpin,
impl<T> UnwindSafe for SampleRequest<T> where
T: UnwindSafe,
[src]
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,