pub enum ParseBitSequenceError {
ExpectedClosingBracketToMatch(usize),
InvalidCharacter,
}
Variants§
Implementations§
source§impl ParseBitSequenceError
impl ParseBitSequenceError
sourcepub fn at(self, loc: usize) -> ParseError
pub fn at(self, loc: usize) -> ParseError
Error at a specific location with no specific end
sourcepub fn at_one(self, loc: usize) -> ParseError
pub fn at_one(self, loc: usize) -> ParseError
Error at a specific location for the next character
sourcepub fn between(self, start: usize, end: usize) -> ParseError
pub fn between(self, start: usize, end: usize) -> ParseError
Error between two locations.
Trait Implementations§
source§impl Clone for ParseBitSequenceError
impl Clone for ParseBitSequenceError
source§fn clone(&self) -> ParseBitSequenceError
fn clone(&self) -> ParseBitSequenceError
Returns a copy 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 ParseBitSequenceError
impl Debug for ParseBitSequenceError
source§impl Display for ParseBitSequenceError
impl Display for ParseBitSequenceError
source§impl From<ParseBitSequenceError> for ParseErrorKind
impl From<ParseBitSequenceError> for ParseErrorKind
source§fn from(original: ParseBitSequenceError) -> ParseErrorKind
fn from(original: ParseBitSequenceError) -> ParseErrorKind
Converts to this type from the input type.
source§impl PartialEq for ParseBitSequenceError
impl PartialEq for ParseBitSequenceError
source§fn eq(&self, other: &ParseBitSequenceError) -> bool
fn eq(&self, other: &ParseBitSequenceError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ParseBitSequenceError
impl StructuralPartialEq for ParseBitSequenceError
Auto Trait Implementations§
impl RefUnwindSafe for ParseBitSequenceError
impl Send for ParseBitSequenceError
impl Sync for ParseBitSequenceError
impl Unpin for ParseBitSequenceError
impl UnwindSafe for ParseBitSequenceError
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