pub struct DriverStartArgs {
pub node: Option<ClientEnd<Channel, Node>>,
pub symbols: Option<Vec<NodeSymbol>>,
pub url: Option<String>,
pub program: Option<Dictionary>,
pub incoming: Option<Vec<ComponentNamespaceEntry>>,
pub outgoing_dir: Option<ServerEnd<Channel, Directory>>,
pub config: Option<Handle>,
pub node_name: Option<String>,
pub node_properties: Option<Vec<NodePropertyEntry>>,
pub node_offers: Option<Vec<Offer>>,
pub node_token: Option<Handle>,
pub node_properties_2: Option<Vec<NodePropertyEntry2>>,
}
Expand description
Arguments for starting a driver.
Fields§
§node: Option<ClientEnd<Channel, Node>>
§symbols: Option<Vec<NodeSymbol>>
§url: Option<String>
§program: Option<Dictionary>
§incoming: Option<Vec<ComponentNamespaceEntry>>
§outgoing_dir: Option<ServerEnd<Channel, Directory>>
§config: Option<Handle>
§node_name: Option<String>
§node_properties: Option<Vec<NodePropertyEntry>>
§node_offers: Option<Vec<Offer>>
§node_token: Option<Handle>
§node_properties_2: Option<Vec<NodePropertyEntry2>>
Trait Implementations§
Source§impl Debug for DriverStartArgs
impl Debug for DriverStartArgs
Source§impl Default for DriverStartArgs
impl Default for DriverStartArgs
Source§fn default() -> DriverStartArgs
fn default() -> DriverStartArgs
Returns the “default value” for a type. Read more
Source§impl Encodable for DriverStartArgs
impl Encodable for DriverStartArgs
Source§type Encoded = WireDriverStartArgs<'static>
type Encoded = WireDriverStartArgs<'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 DriverStartArgswhere
___E: Encoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for DriverStartArgswhere
___E: Encoder + ?Sized + HandleEncoder,
Source§impl<'de> FromWire<WireDriverStartArgs<'de>> for DriverStartArgs
impl<'de> FromWire<WireDriverStartArgs<'de>> for DriverStartArgs
Source§fn from_wire(wire: WireDriverStartArgs<'de>) -> Self
fn from_wire(wire: WireDriverStartArgs<'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 DriverStartArgs
impl RefUnwindSafe for DriverStartArgs
impl Send for DriverStartArgs
impl Sync for DriverStartArgs
impl Unpin for DriverStartArgs
impl UnwindSafe for DriverStartArgs
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.