pub enum LexingError {
NumberParseError,
Other,
}
Variants§
Trait Implementations§
source§impl Clone for LexingError
impl Clone for LexingError
source§fn clone(&self) -> LexingError
fn clone(&self) -> LexingError
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 LexingError
impl Debug for LexingError
source§impl Default for LexingError
impl Default for LexingError
source§fn default() -> LexingError
fn default() -> LexingError
Returns the “default value” for a type. Read more
source§impl Display for LexingError
impl Display for LexingError
source§impl From<ParseFloatError> for LexingError
impl From<ParseFloatError> for LexingError
source§fn from(_: ParseFloatError) -> Self
fn from(_: ParseFloatError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for LexingError
impl From<ParseIntError> for LexingError
source§fn from(_: ParseIntError) -> Self
fn from(_: ParseIntError) -> Self
Converts to this type from the input type.
source§impl PartialEq for LexingError
impl PartialEq for LexingError
source§fn eq(&self, other: &LexingError) -> bool
fn eq(&self, other: &LexingError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LexingError
Auto Trait Implementations§
impl Freeze for LexingError
impl RefUnwindSafe for LexingError
impl Send for LexingError
impl Sync for LexingError
impl Unpin for LexingError
impl UnwindSafe for LexingError
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.