[][src]Struct orkhon::pooled::PooledModel

pub struct PooledModel {
    pub name: &'static str,
    pub module_path: PathBuf,
    pub module: &'static str,
    pub requester_hook: &'static str,
    // some fields omitted
}

Fields

name: &'static strmodule_path: PathBufmodule: &'static strrequester_hook: &'static str

Methods

impl PooledModel[src]

pub fn new(config: OrkhonConfig) -> Self[src]

pub fn with_name(self, name: &'static str) -> Self[src]

pub fn with_module_path(self, module_path: PathBuf) -> Self[src]

pub fn with_module(self, module: &'static str) -> Self[src]

pub fn with_requester_hook(self, requester_hook: &'static str) -> Self[src]

Trait Implementations

impl Clone for PooledModel[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for PooledModel[src]

Auto Trait Implementations

impl Send for PooledModel

impl Sync for PooledModel

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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

impl<T, U> IntoPy<U> for T where
    U: FromPy<T>, 
[src]

impl<T> Downcast for T where
    T: Any

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