Struct sozu_command_lib::parser::CustomError
source · pub struct CustomError { /* private fields */ }
Trait Implementations§
source§impl Debug for CustomError
impl Debug for CustomError
source§impl FromExternalError<&[u8], Error> for CustomError
impl FromExternalError<&[u8], Error> for CustomError
source§impl ParseError<&[u8]> for CustomError
impl ParseError<&[u8]> for CustomError
source§fn from_error_kind(_input: &[u8], kind: ErrorKind) -> Self
fn from_error_kind(_input: &[u8], kind: ErrorKind) -> Self
Creates an error from the input position and an ErrorKind
source§fn append(_input: &[u8], _kind: ErrorKind, other: Self) -> Self
fn append(_input: &[u8], _kind: ErrorKind, other: Self) -> Self
Combines an existing error with a new one created from the input
position and an ErrorKind. This is useful when backtracking
through a parse tree, accumulating error context on the way
Auto Trait Implementations§
impl !RefUnwindSafe for CustomError
impl Send for CustomError
impl Sync for CustomError
impl Unpin for CustomError
impl !UnwindSafe for CustomError
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