pub struct SampleResponse<R, E> {
pub response: Option<(Uri, R)>,
pub errors: Vec<(Uri, E)>,
}
Expand description
Response to a sample query.
Fields§
§response: Option<(Uri, R)>
Paired Uri
and response.
errors: Vec<(Uri, E)>
The errors paired with the Uri
of the keyserver they originated at.
Implementations§
Trait Implementations§
Source§impl<R: Clone, E: Clone> Clone for SampleResponse<R, E>
impl<R: Clone, E: Clone> Clone for SampleResponse<R, E>
Source§fn clone(&self) -> SampleResponse<R, E>
fn clone(&self) -> SampleResponse<R, E>
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 moreimpl<R: Eq, E: Eq> Eq for SampleResponse<R, E>
impl<R, E> StructuralPartialEq for SampleResponse<R, E>
Auto Trait Implementations§
impl<R, E> !Freeze for SampleResponse<R, E>
impl<R, E> RefUnwindSafe for SampleResponse<R, E>where
R: RefUnwindSafe,
E: RefUnwindSafe,
impl<R, E> Send for SampleResponse<R, E>
impl<R, E> Sync for SampleResponse<R, E>
impl<R, E> Unpin for SampleResponse<R, E>
impl<R, E> UnwindSafe for SampleResponse<R, E>where
R: UnwindSafe,
E: 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