pub enum Attached<T> {
Daemon(Client),
Fallback(T),
Unknown(Error),
}Expand description
What attach_or_fallback did.
Variants§
Daemon(Client)
A resident host answered; this client is connected to it.
Fallback(T)
No usable resident host: the fallback ran in this process.
Unknown(Error)
Whether a host exists could not be established (service.json exists and could not be
read). The fallback did not run; look again.
Auto Trait Implementations§
impl<T> !Freeze for Attached<T>
impl<T> !RefUnwindSafe for Attached<T>
impl<T> !UnwindSafe for Attached<T>
impl<T> Send for Attached<T>where
T: Send,
impl<T> Sync for Attached<T>where
T: Sync,
impl<T> Unpin for Attached<T>where
T: Unpin,
impl<T> UnsafeUnpin for Attached<T>where
T: UnsafeUnpin,
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