[−][src]Enum whitespacers::WsErrorKind
Simple information on what kind of error occurred.
Variants
Compile-time parse error
The stack was not of the correct size to execute an instruction.
A missing key was requested from the heap.
The program tried to execute an instruction that doesn't exist (generally caused by control flow hitting the end of the program).
The program tried to return but there was no location to return to on the callstack.
Division or Modulo by zero.
Something went wrong while trying to read from input or write to output.
The program tried to read a number but no number was given.
An overflow occurred during an arithmetric operation. This will normally not be returned unless fallback is disabled.
An overflow occurred when a number input was requested. This is a bit of a special case, as the state cannot be rewound to before the number was parsed. Therefore, the key where the number will be read to, and the oversized integer that was parsed are returned in the error, and the location at which the error occurred is set to be the operation after the failed inum operation. Again, this will not be returned unless fallback is disabled.
Trait Implementations
impl Clone for WsErrorKind
[src]
fn clone(&self) -> WsErrorKind
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for WsErrorKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for WsErrorKind
impl Send for WsErrorKind
impl Sync for WsErrorKind
impl Unpin for WsErrorKind
impl UnwindSafe for WsErrorKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,