pub struct ResponseInfo<R> { /* private fields */ }
Expand description
Information about a response from the driver. Sent by the driver back to the request manager.
Implementations§
source§impl<R: Send> ResponseInfo<R>
impl<R: Send> ResponseInfo<R>
sourcepub fn into_inner(self) -> R
pub fn into_inner(self) -> R
Convert this ResponseInfo into the inner response data.
Trait Implementations§
source§impl<R: Clone> Clone for ResponseInfo<R>
impl<R: Clone> Clone for ResponseInfo<R>
source§fn clone(&self) -> ResponseInfo<R>
fn clone(&self) -> ResponseInfo<R>
Returns a copy 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<R: Debug> Debug for ResponseInfo<R>
impl<R: Debug> Debug for ResponseInfo<R>
source§impl<R: Hash> Hash for ResponseInfo<R>
impl<R: Hash> Hash for ResponseInfo<R>
source§impl<R: Ord> Ord for ResponseInfo<R>
impl<R: Ord> Ord for ResponseInfo<R>
source§fn cmp(&self, other: &ResponseInfo<R>) -> Ordering
fn cmp(&self, other: &ResponseInfo<R>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<R: PartialEq> PartialEq for ResponseInfo<R>
impl<R: PartialEq> PartialEq for ResponseInfo<R>
source§impl<R: PartialOrd> PartialOrd for ResponseInfo<R>
impl<R: PartialOrd> PartialOrd for ResponseInfo<R>
impl<R: Copy> Copy for ResponseInfo<R>
impl<R: Eq> Eq for ResponseInfo<R>
impl<R> StructuralPartialEq for ResponseInfo<R>
Auto Trait Implementations§
impl<R> DeviceSync for ResponseInfo<R>where
R: DeviceSync,
impl<R> Freeze for ResponseInfo<R>where
R: Freeze,
impl<R> ObjSafe for ResponseInfo<R>where
R: ObjSafe,
impl<R> RefUnwindSafe for ResponseInfo<R>where
R: RefUnwindSafe,
impl<R> Send for ResponseInfo<R>where
R: Send,
impl<R> Sync for ResponseInfo<R>where
R: Sync,
impl<R> Unpin for ResponseInfo<R>where
R: Unpin,
impl<R> UnwindSafe for ResponseInfo<R>where
R: 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.