pub struct BootstrapSelf<'a> { /* private fields */ }Implementations§
Source§impl<'a> BootstrapSelf<'a>
impl<'a> BootstrapSelf<'a>
pub fn new( persistence: &'a Persistence, session_id: &'a str, repo_root: PathBuf, ) -> Self
pub fn from_environment( persistence: &'a Persistence, session_id: &'a str, ) -> Result<Self>
Sourcepub fn run_with_plugins_mode(
&self,
plugins: Option<Vec<String>>,
mode: BootstrapMode,
) -> Result<BootstrapOutcome>
pub fn run_with_plugins_mode( &self, plugins: Option<Vec<String>>, mode: BootstrapMode, ) -> Result<BootstrapOutcome>
Run bootstrap with specified plugins, or auto-detect if plugins is None
Sourcepub fn run(&self) -> Result<BootstrapOutcome>
pub fn run(&self) -> Result<BootstrapOutcome>
Run bootstrap with auto-detection (backward compatibility)
pub fn run_with_plugins( &self, plugins: Option<Vec<String>>, ) -> Result<BootstrapOutcome>
pub fn refresh_with_plugins( &self, plugins: Option<Vec<String>>, ) -> Result<BootstrapOutcome>
Auto Trait Implementations§
impl<'a> !Freeze for BootstrapSelf<'a>
impl<'a> RefUnwindSafe for BootstrapSelf<'a>
impl<'a> Send for BootstrapSelf<'a>
impl<'a> Sync for BootstrapSelf<'a>
impl<'a> Unpin for BootstrapSelf<'a>
impl<'a> UnwindSafe for BootstrapSelf<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more