pub enum ShouldFlush {
Yes,
May,
No,
}
Variants§
Yes
Write buffers are empty, but the connection hasn’t been flushed yet
May
The connection hasn’t been flushed yet, but write buffers aren’t empty
No
Flushing would just be a no-op
Trait Implementations§
Source§impl Clone for ShouldFlush
impl Clone for ShouldFlush
Source§fn clone(&self) -> ShouldFlush
fn clone(&self) -> ShouldFlush
Returns a copy 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 ShouldFlush
impl Debug for ShouldFlush
Source§impl PartialEq for ShouldFlush
impl PartialEq for ShouldFlush
impl Eq for ShouldFlush
impl StructuralPartialEq for ShouldFlush
Auto Trait Implementations§
impl Freeze for ShouldFlush
impl RefUnwindSafe for ShouldFlush
impl Send for ShouldFlush
impl Sync for ShouldFlush
impl Unpin for ShouldFlush
impl UnwindSafe for ShouldFlush
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