pub enum SupervisorExit {
Shutdown,
ConnectionLost,
}Expand description
Why the supervisor’s accept loop returned. The reactor uses this to decide between “exit cleanly” and “reconnect with backoff”.
Variants§
Shutdown
The operator signalled shutdown via the channel.
ConnectionLost
The edge or local stack closed the QUIC connection out from under us. Reconnect candidate.
Trait Implementations§
Source§impl Clone for SupervisorExit
impl Clone for SupervisorExit
Source§fn clone(&self) -> SupervisorExit
fn clone(&self) -> SupervisorExit
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 moreSource§impl Debug for SupervisorExit
impl Debug for SupervisorExit
Source§impl PartialEq for SupervisorExit
impl PartialEq for SupervisorExit
Source§fn eq(&self, other: &SupervisorExit) -> bool
fn eq(&self, other: &SupervisorExit) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SupervisorExit
impl Eq for SupervisorExit
impl StructuralPartialEq for SupervisorExit
Auto Trait Implementations§
impl Freeze for SupervisorExit
impl RefUnwindSafe for SupervisorExit
impl Send for SupervisorExit
impl Sync for SupervisorExit
impl Unpin for SupervisorExit
impl UnsafeUnpin for SupervisorExit
impl UnwindSafe for SupervisorExit
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