pub struct ComponentStartInfo {
pub resolved_url: Option<String>,
pub program: Option<Dictionary>,
pub ns: Option<Vec<ComponentNamespaceEntry>>,
pub outgoing_dir: Option<ServerEnd<Directory, Channel>>,
pub runtime_dir: Option<ServerEnd<Directory, Channel>>,
pub numbered_handles: Option<Vec<HandleInfo>>,
pub encoded_config: Option<Data>,
pub break_on_start: Option<EventPair>,
pub component_instance: Option<Event>,
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<Directory, Channel>>
§runtime_dir: Option<ServerEnd<Directory, Channel>>
§numbered_handles: Option<Vec<HandleInfo>>
§encoded_config: Option<Data>
§break_on_start: Option<EventPair>
§component_instance: Option<Event>
§escrowed_dictionary: Option<DictionaryRef>
Trait Implementations§
Source§impl CompatFrom<ComponentStartInfo> for ComponentStartInfo
impl CompatFrom<ComponentStartInfo> for ComponentStartInfo
Source§fn compat_from(value: ComponentStartInfo) -> Self
fn compat_from(value: ComponentStartInfo) -> Self
Converts
value
into a value of this type.Source§impl CompatFrom<ComponentStartInfo> for ComponentStartInfo
impl CompatFrom<ComponentStartInfo> for ComponentStartInfo
Source§fn compat_from(value: ComponentStartInfo) -> Self
fn compat_from(value: ComponentStartInfo) -> Self
Converts
value
into a value of this type.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> = _
Source§impl PartialEq for ComponentStartInfo
impl PartialEq for ComponentStartInfo
impl StructuralPartialEq for ComponentStartInfo
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
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, 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.§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
]