pub enum StreamParseError {
BufferLimit(usize),
Incomplete,
}Variants§
Trait Implementations§
Source§impl Clone for StreamParseError
impl Clone for StreamParseError
Source§fn clone(&self) -> StreamParseError
fn clone(&self) -> StreamParseError
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 moreSource§impl Debug for StreamParseError
impl Debug for StreamParseError
Source§impl Display for StreamParseError
impl Display for StreamParseError
impl Eq for StreamParseError
Source§impl Error for StreamParseError
impl Error for StreamParseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for StreamParseError
impl PartialEq for StreamParseError
impl StructuralPartialEq for StreamParseError
Auto Trait Implementations§
impl Freeze for StreamParseError
impl RefUnwindSafe for StreamParseError
impl Send for StreamParseError
impl Sync for StreamParseError
impl Unpin for StreamParseError
impl UnsafeUnpin for StreamParseError
impl UnwindSafe for StreamParseError
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