pub struct Options<'a> {
pub component_name: &'a str,
pub reuse_component_after_serving: bool,
pub format_options: FormatOptions,
pub start_options: StartOptions,
pub component_type: ComponentType,
}
Fields§
§component_name: &'a str
For static children, the name specifies the name of the child. For dynamic children, the component URL is “fuchsia-boot:///{component-name}#meta/{component-name}.cm” or “#meta/{component-name}.cm”. The library will attempt to connect to a static child first, and if that fails, it will launch the filesystem within a collection. It will try to create a child component via the absolute URL and then fallback to the relative URL.
reuse_component_after_serving: bool
It should be possible to reuse components after serving them, but it’s not universally supported.
format_options: FormatOptions
Format options as defined by the startup protocol
start_options: StartOptions
Start options as defined by the startup protocol
component_type: ComponentType
Whether to launch this filesystem as a dynamic or static child.
Auto Trait Implementations§
impl<'a> Freeze for Options<'a>
impl<'a> RefUnwindSafe for Options<'a>
impl<'a> Send for Options<'a>
impl<'a> Sync for Options<'a>
impl<'a> Unpin for Options<'a>
impl<'a> UnwindSafe for Options<'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