pub struct StreamReadiness {
pub readable_bytes: usize,
pub writable_bytes: usize,
pub eof: bool,
pub write_closed: bool,
pub released: bool,
}Fields§
§readable_bytes: usize§writable_bytes: usize§eof: bool§write_closed: bool§released: boolTrait Implementations§
Source§impl Clone for StreamReadiness
impl Clone for StreamReadiness
Source§fn clone(&self) -> StreamReadiness
fn clone(&self) -> StreamReadiness
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 StreamReadiness
Source§impl Debug for StreamReadiness
impl Debug for StreamReadiness
impl Eq for StreamReadiness
Source§impl PartialEq for StreamReadiness
impl PartialEq for StreamReadiness
impl StructuralPartialEq for StreamReadiness
Auto Trait Implementations§
impl Freeze for StreamReadiness
impl RefUnwindSafe for StreamReadiness
impl Send for StreamReadiness
impl Sync for StreamReadiness
impl Unpin for StreamReadiness
impl UnsafeUnpin for StreamReadiness
impl UnwindSafe for StreamReadiness
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