pub struct DeployOptions {
pub force: bool,
pub idle_exit: Duration,
pub ready_timeout: Duration,
pub handshake_timeout: Duration,
pub exit_timeout: Duration,
pub agent_args: Vec<String>,
}Expand description
How to attach.
Fields§
§force: boolTake UI automation over: from a known automation client (the agent’s
--force), or from an agent this host did not start.
idle_exit: DurationHow long the agent outlives a host that went away without stopping it
(--idle-exit-ms).
ready_timeout: DurationLongest wait for the ready line. The agent retries a refused role for 2 s and waits up to 2 s for an active window.
handshake_timeout: DurationLongest wait for the agent’s hello.
exit_timeout: DurationHow long a replaced or stopped agent may take to exit before it is killed.
agent_args: Vec<String>More arguments for serve, such as --trace.
Trait Implementations§
Source§impl Clone for DeployOptions
impl Clone for DeployOptions
Source§impl Debug for DeployOptions
impl Debug for DeployOptions
Source§impl Default for DeployOptions
impl Default for DeployOptions
Source§fn default() -> DeployOptions
fn default() -> DeployOptions
Returns the “default value” for a type. Read more
impl Eq for DeployOptions
Source§impl PartialEq for DeployOptions
impl PartialEq for DeployOptions
impl StructuralPartialEq for DeployOptions
Auto Trait Implementations§
impl Freeze for DeployOptions
impl RefUnwindSafe for DeployOptions
impl Send for DeployOptions
impl Sync for DeployOptions
impl Unpin for DeployOptions
impl UnsafeUnpin for DeployOptions
impl UnwindSafe for DeployOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request