pub struct Aborted;
Expand description
Error emitted by Abortable
.
@category General
Trait Implementations§
Source§impl Error for Aborted
impl Error for Aborted
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl FromWasmAbi for Aborted
impl FromWasmAbi for Aborted
Source§impl IntoWasmAbi for Aborted
impl IntoWasmAbi for Aborted
Source§impl LongRefFromWasmAbi for Aborted
impl LongRefFromWasmAbi for Aborted
Source§impl OptionFromWasmAbi for Aborted
impl OptionFromWasmAbi for Aborted
Source§impl OptionIntoWasmAbi for Aborted
impl OptionIntoWasmAbi for Aborted
Source§impl RefFromWasmAbi for Aborted
impl RefFromWasmAbi for Aborted
Source§type Anchor = RcRef<Aborted>
type Anchor = RcRef<Aborted>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§unsafe fn ref_from_abi(
js: <Aborted as RefFromWasmAbi>::Abi,
) -> <Aborted as RefFromWasmAbi>::Anchor
unsafe fn ref_from_abi( js: <Aborted as RefFromWasmAbi>::Abi, ) -> <Aborted as RefFromWasmAbi>::Anchor
Source§impl RefMutFromWasmAbi for Aborted
impl RefMutFromWasmAbi for Aborted
Source§impl TryFromJsValue for Aborted
impl TryFromJsValue for Aborted
Source§impl VectorFromWasmAbi for Aborted
impl VectorFromWasmAbi for Aborted
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi( js: <Aborted as VectorFromWasmAbi>::Abi, ) -> Box<[Aborted]>
Source§impl VectorIntoWasmAbi for Aborted
impl VectorIntoWasmAbi for Aborted
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi( vector: Box<[Aborted]>, ) -> <Aborted as VectorIntoWasmAbi>::Abi
Auto Trait Implementations§
impl Freeze for Aborted
impl RefUnwindSafe for Aborted
impl Send for Aborted
impl Sync for Aborted
impl Unpin for Aborted
impl UnwindSafe for Aborted
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.