pub enum Response<O, E>{
Ok(O),
Err(E),
}
Variants§
Implementations§
Trait Implementations§
impl<O, E> Eq for Response<O, E>
impl<O, E> StructuralPartialEq for Response<O, E>
Auto Trait Implementations§
impl<O, E> Freeze for Response<O, E>
impl<O, E> RefUnwindSafe for Response<O, E>where
O: RefUnwindSafe,
E: RefUnwindSafe,
impl<O, E> Send for Response<O, E>
impl<O, E> Sync for Response<O, E>
impl<O, E> Unpin for Response<O, E>
impl<O, E> UnwindSafe for Response<O, E>where
O: 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