Struct heph::spawn::options::ActorOptions [−][src]
pub struct ActorOptions { /* fields omitted */ }
Expand description
Implementations
Set the scheduling priority.
Returns true
if the actor is ready to run when spawned.
See mark_ready
for more information.
This option will marks the actor as ready to run (or not) when spawned.
By default newly spawned actors will be considered to be ready to run
once they are spawned. However some actors might not want to run
immediately and wait for an external event before running. Such an
external event can for example be a TcpStream
becoming ready to read
or write.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ActorOptions
impl Send for ActorOptions
impl Sync for ActorOptions
impl Unpin for ActorOptions
impl UnwindSafe for ActorOptions
Blanket Implementations
Mutably borrows from an owned value. Read more