Enum escape_bytes::UnescapeIntoError
source · pub enum UnescapeIntoError {
OutOfBounds,
Unescape(UnescapeError),
}Expand description
Escape into error occurs when escaping into a slice cannot continue.
Variants§
OutOfBounds
Writing into the slice would write to a position that is out-of-bounds.
Unescape(UnescapeError)
Occurs when encountering unexpected byte sequences.
Trait Implementations§
source§impl Debug for UnescapeIntoError
impl Debug for UnescapeIntoError
source§impl PartialEq for UnescapeIntoError
impl PartialEq for UnescapeIntoError
source§fn eq(&self, other: &UnescapeIntoError) -> bool
fn eq(&self, other: &UnescapeIntoError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for UnescapeIntoError
impl StructuralEq for UnescapeIntoError
impl StructuralPartialEq for UnescapeIntoError
Auto Trait Implementations§
impl RefUnwindSafe for UnescapeIntoError
impl Send for UnescapeIntoError
impl Sync for UnescapeIntoError
impl Unpin for UnescapeIntoError
impl UnwindSafe for UnescapeIntoError
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