pub enum ReadUntilStopReason {
Delimiter,
EndOfInput,
}Expand description
Used to indicate why a read_until_or_end operation stopped.
Variants§
Delimiter
The operation found the provided delimiter byte.
EndOfInput
The operation encountered an end-of-input condition.
Trait Implementations§
Source§impl Clone for ReadUntilStopReason
impl Clone for ReadUntilStopReason
Source§fn clone(&self) -> ReadUntilStopReason
fn clone(&self) -> ReadUntilStopReason
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 ReadUntilStopReason
impl Debug for ReadUntilStopReason
Source§impl PartialEq for ReadUntilStopReason
impl PartialEq for ReadUntilStopReason
impl Copy for ReadUntilStopReason
impl Eq for ReadUntilStopReason
impl StructuralPartialEq for ReadUntilStopReason
Auto Trait Implementations§
impl Freeze for ReadUntilStopReason
impl RefUnwindSafe for ReadUntilStopReason
impl Send for ReadUntilStopReason
impl Sync for ReadUntilStopReason
impl Unpin for ReadUntilStopReason
impl UnwindSafe for ReadUntilStopReason
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