pub enum BootstrapRequest {
ImportWeaveConfig {
config_json: Buffer,
responder: BootstrapImportWeaveConfigResponder,
},
}
Expand description
Protocol to allow components to provide initial configuration data derived from an existing Weave implementation to ensure continuity of the Weave fabric and other Weave settings or configuration data.
Variants§
ImportWeaveConfig
Import a JSON-formatted Weave config providing data in the format expected to satisfy the Weave DeviceLayer ConfigurationManager.
Configuration is guaranteed to have been persisted upon successful completion of this call.
Implementations§
Source§impl BootstrapRequest
impl BootstrapRequest
pub fn into_import_weave_config( self, ) -> Option<(Buffer, BootstrapImportWeaveConfigResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BootstrapRequest
impl !RefUnwindSafe for BootstrapRequest
impl Send for BootstrapRequest
impl Sync for BootstrapRequest
impl Unpin for BootstrapRequest
impl !UnwindSafe for BootstrapRequest
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