[][src]Struct bastion::bastion::Bastion

pub struct Bastion {
    pub config: BastionConfig,
    // some fields omitted
}

Fields

config: BastionConfig

Methods

impl Bastion[src]

pub fn platform_from_config(config: BastionConfig) -> Self[src]

pub fn platform() -> Self[src]

pub fn supervisor(name: &'static str, system: &'static str) -> Supervisor[src]

pub fn start()[src]

pub fn spawn<F, M>(thunk: F, msg: M) -> BastionChildren where
    F: BastionClosure,
    M: Message
[src]

Auto Trait Implementations

impl Sync for Bastion

impl Send for Bastion

impl Unpin for Bastion

impl !RefUnwindSafe for Bastion

impl !UnwindSafe for Bastion

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T