pub enum ReadDirection {
Forwards,
Backwards,
}Expand description
The direction in which to read a stream.
Variants§
Trait Implementations§
Source§impl PartialEq for ReadDirection
impl PartialEq for ReadDirection
Source§fn eq(&self, other: &ReadDirection) -> bool
fn eq(&self, other: &ReadDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReadDirection
impl StructuralPartialEq for ReadDirection
Auto Trait Implementations§
impl Freeze for ReadDirection
impl RefUnwindSafe for ReadDirection
impl Send for ReadDirection
impl Sync for ReadDirection
impl Unpin for ReadDirection
impl UnsafeUnpin for ReadDirection
impl UnwindSafe for ReadDirection
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