[][src]Struct the_process_foundry::applications::bash::Bash

pub struct Bash {
    app_cache: HashMap<String, AppInstance>,
    instance: AppInstance,
}

Fields

app_cache: HashMap<String, AppInstance>

A place to store find_app results Too many applications exist to enumerate them all, so we want to remember as many as possible

instance: AppInstance

Implementations

impl Bash[src]

fn get_module_version() -> Result<Version>[src]

fn get_name(&self) -> String[src]

Trait Implementations

impl AppTrait for Bash[src]

fn set_version(&self, _instance: AppInstance) -> Result<AppInstance>[src]

Knows how to get the version number of the installed app (not the module version)

impl Clone for Bash[src]

impl ContainerTrait for Bash[src]

fn find(&self, query: AppQuery) -> Result<Vec<AppInstance>>[src]

This will find a list of apps with configurations that the container knows about

fn cached_apps(&self) -> Result<Vec<AppInstance>>[src]

List the known items in the app cache

fn get_name(&self) -> String[src]

Get the name/version of the container, usually for use in logging/errors.

impl Debug for Bash[src]

impl<'de> Deserialize<'de> for Bash[src]

impl LocalTrait for Bash[src]

impl Serialize for Bash[src]

Auto Trait Implementations

impl !RefUnwindSafe for Bash

impl !Send for Bash

impl !Sync for Bash

impl Unpin for Bash

impl !UnwindSafe for Bash

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> DynClone for T where
    T: Clone
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,