pub enum ShutdownOrder {
Together,
OpsOutlivesApi,
}Expand description
Controls when the operations listener stops relative to the public API.
Variants§
Together
Stops both listeners together when process shutdown begins.
OpsOutlivesApi
Keeps operations serving until the API has drained or the deadline expires.
Trait Implementations§
Source§impl Clone for ShutdownOrder
impl Clone for ShutdownOrder
Source§fn clone(&self) -> ShutdownOrder
fn clone(&self) -> ShutdownOrder
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 ShutdownOrder
Source§impl Debug for ShutdownOrder
impl Debug for ShutdownOrder
Source§impl Default for ShutdownOrder
impl Default for ShutdownOrder
Source§fn default() -> ShutdownOrder
fn default() -> ShutdownOrder
Returns the “default value” for a type. Read more
impl Eq for ShutdownOrder
Source§impl PartialEq for ShutdownOrder
impl PartialEq for ShutdownOrder
impl StructuralPartialEq for ShutdownOrder
Auto Trait Implementations§
impl Freeze for ShutdownOrder
impl RefUnwindSafe for ShutdownOrder
impl Send for ShutdownOrder
impl Sync for ShutdownOrder
impl Unpin for ShutdownOrder
impl UnsafeUnpin for ShutdownOrder
impl UnwindSafe for ShutdownOrder
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