pub struct ComponentStartInfo {
pub resolved_url: Option<String>,
pub program: Option<Dictionary>,
pub ns: Option<Vec<ComponentNamespaceEntry>>,
pub outgoing_dir: Option<ServerEnd<Channel, Directory>>,
pub runtime_dir: Option<ServerEnd<Channel, Directory>>,
pub numbered_handles: Option<Vec<HandleInfo>>,
pub encoded_config: Option<Data>,
pub break_on_start: Option<Handle>,
pub component_instance: Option<Handle>,
pub escrowed_dictionary: Option<DictionaryRef>,
}
Expand description
Parameters for starting a new component instance.
Fields§
§resolved_url: Option<String>
§program: Option<Dictionary>
§ns: Option<Vec<ComponentNamespaceEntry>>
§outgoing_dir: Option<ServerEnd<Channel, Directory>>
§runtime_dir: Option<ServerEnd<Channel, Directory>>
§numbered_handles: Option<Vec<HandleInfo>>
§encoded_config: Option<Data>
§break_on_start: Option<Handle>
§component_instance: Option<Handle>
§escrowed_dictionary: Option<DictionaryRef>
Trait Implementations§
Source§impl Debug for ComponentStartInfo
impl Debug for ComponentStartInfo
Source§impl Encodable for ComponentStartInfo
impl Encodable for ComponentStartInfo
Source§type Encoded = WireComponentStartInfo
type Encoded = WireComponentStartInfo
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for ComponentStartInfowhere
___E: Encoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for ComponentStartInfowhere
___E: Encoder + ?Sized + HandleEncoder,
Source§impl TakeFrom<WireComponentStartInfo> for ComponentStartInfo
impl TakeFrom<WireComponentStartInfo> for ComponentStartInfo
Source§fn take_from(from: &WireComponentStartInfo) -> Self
fn take_from(from: &WireComponentStartInfo) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for ComponentStartInfo
impl RefUnwindSafe for ComponentStartInfo
impl Send for ComponentStartInfo
impl Sync for ComponentStartInfo
impl Unpin for ComponentStartInfo
impl UnwindSafe for ComponentStartInfo
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