pub struct Response<T>{ /* private fields */ }Implementations§
Source§impl<T> Response<T>
impl<T> Response<T>
pub fn new(value: T) -> Response<T>
pub fn from_owner<U>(owner: Arc<U>) -> Response<T>
pub fn ptr_eq(&self, other: &Response<T>) -> bool
pub fn try_unwrap(self) -> Result<T, Response<T>>
pub fn into_owned(self) -> Twhere
T: Clone,
pub fn into_erased(self) -> ErasedResponse
Trait Implementations§
impl<T> Eq for Response<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Response<T>
impl<T> !UnwindSafe for Response<T>
impl<T> Freeze for Response<T>
impl<T> Send for Response<T>
impl<T> Sync for Response<T>
impl<T> Unpin for Response<T>
impl<T> UnsafeUnpin for Response<T>
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