Struct agner_actors::SystemConfig
source · [−]pub struct SystemConfig {
pub max_actors: usize,
pub actor_termination_timeout: Duration,
pub exit_handler: Arc<dyn ExitHandler>,
}Expand description
Configuration for System
Fields
max_actors: usizemax number of actors in the System
actor_termination_timeout: Durationmax duration given for an actor to gracefully terminate
exit_handler: Arc<dyn ExitHandler>exit handler
Trait Implementations
sourceimpl Clone for SystemConfig
impl Clone for SystemConfig
sourcefn clone(&self) -> SystemConfig
fn clone(&self) -> SystemConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SystemConfig
impl Debug for SystemConfig
Auto Trait Implementations
impl !RefUnwindSafe for SystemConfig
impl Send for SystemConfig
impl Sync for SystemConfig
impl Unpin for SystemConfig
impl !UnwindSafe for SystemConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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