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 Default for ComponentStartInfo
impl Default for ComponentStartInfo
Source§fn default() -> ComponentStartInfo
fn default() -> ComponentStartInfo
Returns the “default value” for a type. Read more
Source§impl Encodable for ComponentStartInfo
impl Encodable for ComponentStartInfo
Source§type Encoded = WireComponentStartInfo<'static>
type Encoded = WireComponentStartInfo<'static>
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
Whether the conversion from
Self
to Self::Encoded
is equivalent to copying the raw bytes
of Self
. Read moreSource§impl<___E> Encode<___E> for ComponentStartInfowhere
___E: Encoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for ComponentStartInfowhere
___E: Encoder + ?Sized + HandleEncoder,
Source§impl<'de> FromWire<WireComponentStartInfo<'de>> for ComponentStartInfo
impl<'de> FromWire<WireComponentStartInfo<'de>> for ComponentStartInfo
Source§fn from_wire(wire: WireComponentStartInfo<'de>) -> Self
fn from_wire(wire: WireComponentStartInfo<'de>) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Auto 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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
Converts the given
wire
to an option of this type.