pub enum LoaferResult {
ImDone,
CallMeAgain,
}
Expand description
A result returned by a “loafer”.
Variants§
ImDone
The caller can block on receiving data, since the loafer has done all it needed.
CallMeAgain
A hint to call the loafer again.
Trait Implementations§
Source§impl Clone for LoaferResult
impl Clone for LoaferResult
Source§fn clone(&self) -> LoaferResult
fn clone(&self) -> LoaferResult
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 moreSource§impl Debug for LoaferResult
impl Debug for LoaferResult
impl Copy for LoaferResult
Auto Trait Implementations§
impl Freeze for LoaferResult
impl RefUnwindSafe for LoaferResult
impl Send for LoaferResult
impl Sync for LoaferResult
impl Unpin for LoaferResult
impl UnwindSafe for LoaferResult
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