Enum safe_drive::RecvResult
source · pub enum RecvResult<T, U> {
Ok(T),
RetryLater(U),
Err(DynError),
}Expand description
A type of return values of some receive functions.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<T, U> !RefUnwindSafe for RecvResult<T, U>
impl<T, U> Send for RecvResult<T, U>where T: Send, U: Send,
impl<T, U> Sync for RecvResult<T, U>where T: Sync, U: Sync,
impl<T, U> Unpin for RecvResult<T, U>where T: Unpin, U: Unpin,
impl<T, U> !UnwindSafe for RecvResult<T, U>
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