pub enum AutoStartError {
Client(ClientError),
BinaryPath(Error),
Launch {
path: PathBuf,
error: Error,
},
TimedOut {
socket_path: PathBuf,
waited: Duration,
},
}Expand description
Errors raised while auto-starting or connecting to the RMUX server.
Variants§
Client(ClientError)
The client transport failed before or during readiness polling.
BinaryPath(Error)
Resolving the rmux binary path failed.
Launch
Re-executing the hidden daemon process failed.
Fields
TimedOut
The socket never became reachable before the readiness deadline.
Trait Implementations§
Source§impl Debug for AutoStartError
impl Debug for AutoStartError
Source§impl Display for AutoStartError
impl Display for AutoStartError
Source§impl Error for AutoStartError
impl Error for AutoStartError
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<ClientError> for AutoStartError
impl From<ClientError> for AutoStartError
Source§fn from(error: ClientError) -> Self
fn from(error: ClientError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AutoStartError
impl !RefUnwindSafe for AutoStartError
impl Send for AutoStartError
impl Sync for AutoStartError
impl Unpin for AutoStartError
impl UnsafeUnpin for AutoStartError
impl !UnwindSafe for AutoStartError
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