[][src]Struct soma::Environment

pub struct Environment<'a, C: 'static, P: Printer + 'static> { /* fields omitted */ }

Methods

impl<'a, C, P> Environment<'a, C, P> where
    C: Connect,
    P: Printer
[src]

pub fn new(
    username: String,
    data_dir: &'a mut DataDirectory,
    docker: Docker<C>,
    printer: P
) -> SomaResult<Environment<'a, C, P>>
[src]

pub fn username(&self) -> &NameString[src]

pub fn printer(&self) -> RefMut<P>[src]

pub fn repo_manager(&self) -> &RepositoryManager<'a>[src]

pub fn repo_manager_mut(&mut self) -> &mut RepositoryManager<'a>[src]

Auto Trait Implementations

impl<'a, C, P> !Send for Environment<'a, C, P>

impl<'a, C, P> !Sync for Environment<'a, C, P>

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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> Erased for T