pub enum StreamControl {
Continue,
Stop,
}Expand description
Control signal returned by the stream sink callback.
Variants§
Trait Implementations§
Source§impl Clone for StreamControl
impl Clone for StreamControl
Source§fn clone(&self) -> StreamControl
fn clone(&self) -> StreamControl
Returns a duplicate 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 StreamControl
impl Debug for StreamControl
Source§impl PartialEq for StreamControl
impl PartialEq for StreamControl
impl Copy for StreamControl
impl Eq for StreamControl
impl StructuralPartialEq for StreamControl
Auto Trait Implementations§
impl Freeze for StreamControl
impl RefUnwindSafe for StreamControl
impl Send for StreamControl
impl Sync for StreamControl
impl Unpin for StreamControl
impl UnsafeUnpin for StreamControl
impl UnwindSafe for StreamControl
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