pub struct SampleRequest<T> {
pub uris: Vec<Uri>,
pub request: T,
}
Expand description
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§
Source§impl<T: Clone> Clone for SampleRequest<T>
impl<T: Clone> Clone for SampleRequest<T>
Source§fn clone(&self) -> SampleRequest<T>
fn clone(&self) -> SampleRequest<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for SampleRequest<T>
impl<T: Debug> Debug for SampleRequest<T>
Source§impl<T: PartialEq> PartialEq for SampleRequest<T>
impl<T: PartialEq> PartialEq for SampleRequest<T>
Source§impl<S, T> Service<SampleRequest<T>> for KeyserverClient<S>
impl<S, T> Service<SampleRequest<T>> for KeyserverClient<S>
Source§type Response = Vec<(Uri, Result<<KeyserverClient<S> as Service<(Uri, T)>>::Response, <KeyserverClient<S> as Service<(Uri, T)>>::Error>)>
type Response = Vec<(Uri, Result<<KeyserverClient<S> as Service<(Uri, T)>>::Response, <KeyserverClient<S> as Service<(Uri, T)>>::Error>)>
Responses given by the service.
Source§type Error = SampleError<<KeyserverClient<S> as Service<(Uri, T)>>::Error>
type Error = SampleError<<KeyserverClient<S> as Service<(Uri, T)>>::Error>
Errors produced by the service.
Source§type Future = Pin<Box<dyn Future<Output = Result<<KeyserverClient<S> as Service<SampleRequest<T>>>::Response, <KeyserverClient<S> as Service<SampleRequest<T>>>::Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<KeyserverClient<S> as Service<SampleRequest<T>>>::Response, <KeyserverClient<S> as Service<SampleRequest<T>>>::Error>> + Send>>
The future response value.
impl<T: Eq> Eq for SampleRequest<T>
impl<T> StructuralPartialEq for SampleRequest<T>
Auto Trait Implementations§
impl<T> Freeze for SampleRequest<T>where
T: Freeze,
impl<T> RefUnwindSafe for SampleRequest<T>where
T: RefUnwindSafe,
impl<T> Send for SampleRequest<T>where
T: Send,
impl<T> Sync for SampleRequest<T>where
T: Sync,
impl<T> Unpin for SampleRequest<T>where
T: Unpin,
impl<T> UnwindSafe for SampleRequest<T>where
T: UnwindSafe,
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