pub struct DrainReport {
pub open_conns_remaining: u32,
pub accept_closed: bool,
}Fields§
§open_conns_remaining: u32§accept_closed: boolTrait Implementations§
Source§impl Clone for DrainReport
impl Clone for DrainReport
Source§fn clone(&self) -> DrainReport
fn clone(&self) -> DrainReport
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 DrainReport
impl Debug for DrainReport
Source§impl Default for DrainReport
impl Default for DrainReport
Source§fn default() -> DrainReport
fn default() -> DrainReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DrainReport
impl RefUnwindSafe for DrainReport
impl Send for DrainReport
impl Sync for DrainReport
impl Unpin for DrainReport
impl UnsafeUnpin for DrainReport
impl UnwindSafe for DrainReport
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