pub enum HandleResult<R> {
Response(R),
Shutdown(R),
}Expand description
Result of handling a command
Variants§
Implementations§
Trait Implementations§
Source§impl<R: Clone> Clone for HandleResult<R>
impl<R: Clone> Clone for HandleResult<R>
Source§fn clone(&self) -> HandleResult<R>
fn clone(&self) -> HandleResult<R>
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 moreAuto Trait Implementations§
impl<R> Freeze for HandleResult<R>where
R: Freeze,
impl<R> RefUnwindSafe for HandleResult<R>where
R: RefUnwindSafe,
impl<R> Send for HandleResult<R>where
R: Send,
impl<R> Sync for HandleResult<R>where
R: Sync,
impl<R> Unpin for HandleResult<R>where
R: Unpin,
impl<R> UnwindSafe for HandleResult<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