pub enum ClientHealth {
Running,
NeedsReset,
}Expand description
Whether the client may publish new work.
Variants§
Running
Queue tracking and response framing remain trustworthy.
NeedsReset
An unexpected or malformed completion requires a queue reset.
Trait Implementations§
Source§impl Clone for ClientHealth
impl Clone for ClientHealth
Source§fn clone(&self) -> ClientHealth
fn clone(&self) -> ClientHealth
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ClientHealth
Source§impl Debug for ClientHealth
impl Debug for ClientHealth
impl Eq for ClientHealth
Source§impl PartialEq for ClientHealth
impl PartialEq for ClientHealth
Source§fn eq(&self, other: &ClientHealth) -> bool
fn eq(&self, other: &ClientHealth) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClientHealth
Auto Trait Implementations§
impl Freeze for ClientHealth
impl RefUnwindSafe for ClientHealth
impl Send for ClientHealth
impl Sync for ClientHealth
impl Unpin for ClientHealth
impl UnsafeUnpin for ClientHealth
impl UnwindSafe for ClientHealth
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