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
type Encoded = WireDriverStartArgs
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 DriverStartArgswhere
___E: Encoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for DriverStartArgswhere
___E: Encoder + ?Sized + HandleEncoder,
Source§impl TakeFrom<WireDriverStartArgs> for DriverStartArgs
impl TakeFrom<WireDriverStartArgs> for DriverStartArgs
Source§fn take_from(from: &WireDriverStartArgs) -> Self
fn take_from(from: &WireDriverStartArgs) -> 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 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