pub enum DeviceSide {
Pushes,
Pulls,
}Expand description
Which side of the buffer the device is on.
Variants§
Pushes
An input: the device pushes, the stream pulls.
Pulls
An output: the stream pushes, the device pulls.
Trait Implementations§
Source§impl Clone for DeviceSide
impl Clone for DeviceSide
impl Copy for DeviceSide
Source§impl Debug for DeviceSide
impl Debug for DeviceSide
impl Eq for DeviceSide
Source§impl PartialEq for DeviceSide
impl PartialEq for DeviceSide
impl StructuralPartialEq for DeviceSide
Auto Trait Implementations§
impl Forget for DeviceSide
impl Freeze for DeviceSide
impl RefUnwindSafe for DeviceSide
impl Send for DeviceSide
impl Sync for DeviceSide
impl Unpin for DeviceSide
impl UnsafeUnpin for DeviceSide
impl UnwindSafe for DeviceSide
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