Struct actix_rt::System [−][src]
A manager for a per-thread distributed async runtime.
Implementations
impl System
[src]
pub fn new() -> SystemRunner
[src]
pub fn current() -> System
[src]
pub fn arbiter(&self) -> &ArbiterHandle
[src]
Get handle to a the System's initial Arbiter.
pub fn is_registered() -> bool
[src]
Check if there is a System registered on the current thread.
pub fn id(&self) -> usize
[src]
Numeric system identifier.
Useful when using multiple Systems.
pub fn stop(&self)
[src]
Stop the system (with code 0).
pub fn stop_with_code(&self, code: i32)
[src]
Stop the system with a given exit code.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for System
[src]
impl Send for System
[src]
impl Sync for System
[src]
impl Unpin for System
[src]
impl !UnwindSafe for System
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,