Enum layered_io::Activity [−][src]
For interactivity, it’s desirable to avoid buffering data which is complete
enough to be actionable. Activity
allows writers to notify the API at
points when the data provided is actionable and buffers should be flushed
to the reader.
Users that aren’t implementing buffering can ignore this.
Variants
The writer is actively writing and data may be buffered.
The writer has finished writing something actionable and requested buffering layers flush at this point.
This is similar to the PSH
flag in TCP.
Trait Implementations
impl Clone for Activity
[src]
impl Copy for Activity
[src]
impl Debug for Activity
[src]
impl Eq for Activity
[src]
impl PartialEq<Activity> for Activity
[src]
fn eq(&self, other: &Activity) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for Activity
[src]
impl StructuralPartialEq for Activity
[src]
Auto Trait Implementations
impl RefUnwindSafe for Activity
impl Send for Activity
impl Sync for Activity
impl Unpin for Activity
impl UnwindSafe for Activity
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,