Struct jlrs::value::task::Task[][src]

#[repr(transparent)]pub struct Task<'frame>(_, _);

A Julia Task (coroutine).

Implementations

impl<'frame> Task<'frame>[src]

pub fn next(self) -> Option<Value<'frame, 'static>>[src]

Invasive linked list for scheduler

pub fn queue(self) -> Option<Value<'frame, 'static>>[src]

Invasive linked list for scheduler

pub fn tls(self) -> Value<'frame, 'static>[src]

The tls field.

pub fn state(self) -> Symbol<'frame>[src]

The state field.

pub fn donenotify(self) -> Option<Value<'frame, 'static>>[src]

The donenotify field.

pub fn result(self) -> Option<Value<'frame, 'static>>[src]

The result field.

pub fn exception(self) -> Option<Value<'frame, 'static>>[src]

The exception field.

pub fn backtrace(self) -> Option<Value<'frame, 'static>>[src]

The backtrace field.

pub fn logstate(self) -> Option<Value<'frame, 'static>>[src]

pub fn start(self) -> Option<Value<'frame, 'static>>[src]

pub fn sticky(self) -> u8[src]

Record whether this Task can be migrated to a new thread

pub fn as_value(self) -> Value<'frame, 'static>[src]

Convert self to a Value.

Trait Implementations

impl<'frame, 'data> Cast<'frame, 'data> for Task<'frame>[src]

type Output = Self

impl<'frame> Clone for Task<'frame>[src]

impl<'frame> Copy for Task<'frame>[src]

impl<'frame> Eq for Task<'frame>[src]

impl<'frame> Hash for Task<'frame>[src]

impl<'frame> Into<Value<'frame, 'static>> for Task<'frame>[src]

impl<'frame> JuliaType for Task<'frame>[src]

impl<'frame> JuliaTypecheck for Task<'frame>[src]

impl<'frame> PartialEq<Task<'frame>> for Task<'frame>[src]

impl<'frame> StructuralEq for Task<'frame>[src]

impl<'frame> StructuralPartialEq for Task<'frame>[src]

impl<'frame> ValidLayout for Task<'frame>[src]

Auto Trait Implementations

impl<'frame> RefUnwindSafe for Task<'frame>[src]

impl<'frame> !Send for Task<'frame>[src]

impl<'frame> !Sync for Task<'frame>[src]

impl<'frame> Unpin for Task<'frame>[src]

impl<'frame> UnwindSafe for Task<'frame>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.