Struct ParseCancelled

pub struct ParseCancelled;

Returned by try_parse_document when the parse is cancelled.

Trait Implementations

impl Clone for ParseCancelled

fn clone(&self) -> Self

impl Copy for ParseCancelled

impl Debug for ParseCancelled

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Display for ParseCancelled

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for ParseCancelled

impl Error for ParseCancelled

impl PartialEq for ParseCancelled

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for ParseCancelled

Auto Trait Implementations

impl Freeze for ParseCancelled

impl RefUnwindSafe for ParseCancelled

impl Send for ParseCancelled

impl Sync for ParseCancelled

impl Unpin for ParseCancelled

impl UnsafeUnpin for ParseCancelled

impl UnwindSafe for ParseCancelled

Blanket Implementations

impl<F, T, S> SimdInto<T, S> for ParseCancelled where T: SimdFrom<F, S>, S: Simd,

fn simd_into(self, simd: S) -> T

impl<T> Any for ParseCancelled where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for ParseCancelled where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for ParseCancelled where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for ParseCancelled where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for ParseCancelled

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for ParseCancelled where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T> ToString for ParseCancelled where T: Display + ?Sized,

fn to_string(&self) -> String

impl<T, S> SimdFrom<T, S> for ParseCancelled where S: Simd,

fn simd_from(_simd: S, value: T) -> T

impl<T, U> Into<U> for ParseCancelled where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for ParseCancelled where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for ParseCancelled where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>