pub struct DrainStatus {
pub state: LifecycleState,
pub drain_age_seconds: Option<f64>,
pub deadline_remaining_seconds: Option<f64>,
pub drain_complete: bool,
pub interface_writer_queued_frames: usize,
pub provider_backlog_events: usize,
pub provider_consumer_queued_events: usize,
pub detail: Option<String>,
}Fields§
§state: LifecycleState§drain_age_seconds: Option<f64>§deadline_remaining_seconds: Option<f64>§drain_complete: bool§interface_writer_queued_frames: usize§provider_backlog_events: usize§provider_consumer_queued_events: usize§detail: Option<String>Trait Implementations§
Source§impl Clone for DrainStatus
impl Clone for DrainStatus
Source§fn clone(&self) -> DrainStatus
fn clone(&self) -> DrainStatus
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 DrainStatus
impl Debug for DrainStatus
Source§impl PartialEq for DrainStatus
impl PartialEq for DrainStatus
impl StructuralPartialEq for DrainStatus
Auto Trait Implementations§
impl Freeze for DrainStatus
impl RefUnwindSafe for DrainStatus
impl Send for DrainStatus
impl Sync for DrainStatus
impl Unpin for DrainStatus
impl UnsafeUnpin for DrainStatus
impl UnwindSafe for DrainStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
impl<T> InterfaceConfigData for Twhere
T: Send + 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more