pub enum StreamSinkMode {
Transactional,
Direct,
}Expand description
Visibility of accepted bytes before successful completion.
Variants§
Transactional
Accepted bytes remain hidden and the sink can roll them back on abort.
Direct
Accepted bytes may be externally visible and cannot be rolled back.
Trait Implementations§
Source§impl Clone for StreamSinkMode
impl Clone for StreamSinkMode
Source§fn clone(&self) -> StreamSinkMode
fn clone(&self) -> StreamSinkMode
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 StreamSinkMode
Source§impl Debug for StreamSinkMode
impl Debug for StreamSinkMode
impl Eq for StreamSinkMode
Source§impl Hash for StreamSinkMode
impl Hash for StreamSinkMode
Source§impl Ord for StreamSinkMode
impl Ord for StreamSinkMode
Source§fn cmp(&self, other: &StreamSinkMode) -> Ordering
fn cmp(&self, other: &StreamSinkMode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StreamSinkMode
impl PartialEq for StreamSinkMode
Source§impl PartialOrd for StreamSinkMode
impl PartialOrd for StreamSinkMode
impl StructuralPartialEq for StreamSinkMode
Auto Trait Implementations§
impl Freeze for StreamSinkMode
impl RefUnwindSafe for StreamSinkMode
impl Send for StreamSinkMode
impl Sync for StreamSinkMode
impl Unpin for StreamSinkMode
impl UnsafeUnpin for StreamSinkMode
impl UnwindSafe for StreamSinkMode
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