#[repr(transparent)]pub struct Task<'scope>(_, _);
Expand description
A Julia Task
(coroutine).
Implementations
sourceimpl<'scope> Task<'scope>
impl<'scope> Task<'scope>
sourcepub fn done_notify(self) -> ValueRef<'scope, 'static>
pub fn done_notify(self) -> ValueRef<'scope, 'static>
The donenotify
field.
sourcepub fn is_exception(self) -> bool
pub fn is_exception(self) -> bool
set if result
is an exception to throw or that we exited with
Trait Implementations
impl<'scope> Copy for Task<'scope>
impl<'scope> Typecheck for Task<'scope>
Auto Trait Implementations
impl<'scope> RefUnwindSafe for Task<'scope>
impl<'scope> !Send for Task<'scope>
impl<'scope> !Sync for Task<'scope>
impl<'scope> Unpin for Task<'scope>
impl<'scope> UnwindSafe for Task<'scope>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'scope, 'data, W> Wrapper<'scope, 'data> for W where
W: WrapperPriv<'scope, 'data>,
impl<'scope, 'data, W> Wrapper<'scope, 'data> for W where
W: WrapperPriv<'scope, 'data>,
sourcefn display_string(self) -> JlrsResult<String>
fn display_string(self) -> JlrsResult<String>
Convert the wrapper to its display string, i.e. the string that is shown when calling
Base.show
. Read more
sourcefn error_string(self) -> JlrsResult<String>
fn error_string(self) -> JlrsResult<String>
Convert the wrapper to its error string, i.e. the string that is shown when calling
Base.showerror
. This string can contain ANSI color codes if this is enabled by calling
Julia::error_color
, AsyncJulia::error_color
, or AsyncJulia::try_error_color
, . Read more