[−][src]Struct bastion::supervisor::Supervisor
Fields
urn: SupervisorURN
Methods
impl Supervisor
[src]
pub fn props(self, name: String, system: String) -> Self
[src]
pub fn strategy(self, strategy: SupervisionStrategy) -> Self
[src]
pub fn children<F, M>(self, thunk: F, msg: M, scale: i32) -> Self where
F: BastionClosure,
M: Message,
[src]
F: BastionClosure,
M: Message,
pub fn launch(self)
[src]
Trait Implementations
impl Clone for Supervisor
[src]
fn clone(&self) -> Supervisor
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for Supervisor
[src]
fn default() -> Supervisor
[src]
impl Debug for Supervisor
[src]
Auto Trait Implementations
impl Sync for Supervisor
impl Send for Supervisor
impl Unpin for Supervisor
impl !RefUnwindSafe for Supervisor
impl !UnwindSafe for Supervisor
Blanket Implementations
impl<T> Shell for T where
T: Send + Sync + Clone + Any + 'static,
[src]
T: Send + Sync + Clone + Any + 'static,
impl<T> Message for T where
T: Shell + Debug,
[src]
T: Shell + Debug,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &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, 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T> Clone for T where
T: Clone,
[src]
T: Clone,