Enum runestick::Call [−][src]
pub enum Call { Async, Stream, Generator, Immediate, }
Expand description
How the function is called.
Async functions create a sub-context and immediately return futures.
Variants
Function is async
and returns a future that must be await:ed to make
progress.
Function produces a stream, also known as an async generator.
Function produces a generator.
Functions are immediately called and control handed over.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Call
impl UnwindSafe for Call
Blanket Implementations
Mutably borrows from an owned value. Read more