pub struct UnbalancedOpStream;Expand description
Error returned by try_to_yamd when the op stream is not well-formed
(unbalanced Start/End pairs, or an End that doesn’t match the frame it closes).
Trait Implementations§
Source§impl Clone for UnbalancedOpStream
impl Clone for UnbalancedOpStream
Source§fn clone(&self) -> UnbalancedOpStream
fn clone(&self) -> UnbalancedOpStream
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 UnbalancedOpStream
Source§impl Debug for UnbalancedOpStream
impl Debug for UnbalancedOpStream
Source§impl Display for UnbalancedOpStream
impl Display for UnbalancedOpStream
impl Eq for UnbalancedOpStream
Source§impl Error for UnbalancedOpStream
impl Error for UnbalancedOpStream
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 UnbalancedOpStream
impl PartialEq for UnbalancedOpStream
impl StructuralPartialEq for UnbalancedOpStream
Auto Trait Implementations§
impl Freeze for UnbalancedOpStream
impl RefUnwindSafe for UnbalancedOpStream
impl Send for UnbalancedOpStream
impl Sync for UnbalancedOpStream
impl Unpin for UnbalancedOpStream
impl UnsafeUnpin for UnbalancedOpStream
impl UnwindSafe for UnbalancedOpStream
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