pub struct BootstrapManager { /* private fields */ }Expand description
BootstrapManager is used to hold the parent bootstrap reader and create new bootstrap context.
Implementations§
Source§impl BootstrapManager
impl BootstrapManager
Sourcepub fn new(
bootstrap_storage: Option<ArtifactStorage>,
f_parent_path: Option<String>,
) -> Self
pub fn new( bootstrap_storage: Option<ArtifactStorage>, f_parent_path: Option<String>, ) -> Self
Create a new instance of BootstrapManager
Sourcepub fn create_ctx(&self) -> Result<BootstrapContext>
pub fn create_ctx(&self) -> Result<BootstrapContext>
Create a new instance of BootstrapContext
Trait Implementations§
Source§impl Clone for BootstrapManager
impl Clone for BootstrapManager
Source§fn clone(&self) -> BootstrapManager
fn clone(&self) -> BootstrapManager
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BootstrapManager
impl RefUnwindSafe for BootstrapManager
impl Send for BootstrapManager
impl Sync for BootstrapManager
impl Unpin for BootstrapManager
impl UnwindSafe for BootstrapManager
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