pub enum DeployError {
Adb(Error),
Conflict(Conflict),
Exited {
output: String,
exit: Option<u8>,
},
NoReadyLine {
waited: Duration,
output: String,
},
Handshake {
socket: String,
reason: DisconnectReason,
},
WrongVersion {
reported: String,
expected: String,
jar: Option<PathBuf>,
},
Records(Error),
}Expand description
Why an attach or a stop failed.
Variants§
Adb(Error)
Conflict(Conflict)
Another process holds UI automation; nothing was taken over.
Exited
The agent ended before its ready line.
NoReadyLine
No ready line within the timeout; the agent was killed.
Handshake
The launched agent’s handshake failed.
WrongVersion
The launched jar reports another build than this driver deploys; it was stopped.
Records(Error)
The record of the agent could not be written.
Trait Implementations§
Source§impl Debug for DeployError
impl Debug for DeployError
Source§impl Display for DeployError
impl Display for DeployError
Source§impl Error for DeployError
impl Error for DeployError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for DeployError
impl From<Error> for DeployError
Source§fn from(error: Error) -> DeployError
fn from(error: Error) -> DeployError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DeployError
impl !UnwindSafe for DeployError
impl Freeze for DeployError
impl Send for DeployError
impl Sync for DeployError
impl Unpin for DeployError
impl UnsafeUnpin for DeployError
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> 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