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 strFor 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: boolIt should be possible to reuse components after serving them, but it’s not universally supported.
format_options: FormatOptionsFormat options as defined by the startup protocol
start_options: StartOptionsStart options as defined by the startup protocol
component_type: ComponentTypeWhether 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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
    D: ResourceDialect,
 
impl<T, D> Encode<Ambiguous1, D> for Twhere
    D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
    D: ResourceDialect,
 
impl<T, D> Encode<Ambiguous2, D> for Twhere
    D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
 
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
 
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type 
T to [Self]