[−][src]Struct spirit::fragment::SeqInstaller
A sequence installer.
This is an auxiliary installer wrapper, to install instances from a collection of fragments.
Usually, this is used behind the scenes in things like Vec<F: Fragment>
and shouldn't have to
be used by user directly.
Trait Implementations
impl<Resource, O, C, Slave> Installer<Resource, O, C> for SeqInstaller<Slave> where
Resource: IntoIterator,
Slave: Installer<Resource::Item, O, C>,
[src]
Resource: IntoIterator,
Slave: Installer<Resource::Item, O, C>,
type UninstallHandle = Vec<Slave::UninstallHandle>
A handle representing lifetime of the resource. Read more
fn install(
&mut self,
resource: Resource,
name: &'static str
) -> Self::UninstallHandle
[src]
&mut self,
resource: Resource,
name: &'static str
) -> Self::UninstallHandle
fn init<B: Extensible<Opts = O, Config = C, Ok = B>>(
&mut self,
builder: B,
name: &'static str
) -> Result<B, Error> where
B::Config: DeserializeOwned + Send + Sync + 'static,
B::Opts: StructOpt + Send + Sync + 'static,
[src]
&mut self,
builder: B,
name: &'static str
) -> Result<B, Error> where
B::Config: DeserializeOwned + Send + Sync + 'static,
B::Opts: StructOpt + Send + Sync + 'static,
impl<Slave: Default> Default for SeqInstaller<Slave>
[src]
fn default() -> SeqInstaller<Slave>
[src]
impl<Slave: Debug> Debug for SeqInstaller<Slave>
[src]
Auto Trait Implementations
impl<Slave> Send for SeqInstaller<Slave> where
Slave: Send,
Slave: Send,
impl<Slave> Sync for SeqInstaller<Slave> where
Slave: Sync,
Slave: Sync,
Blanket Implementations
impl<T> IntoResult for T
[src]
fn into_result(Self) -> Result<T, Error>
[src]
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.