pub enum ConnectResult {
Connected(Connection),
Absent,
}Expand description
Result of attempting to connect to the RMUX server.
Variants§
Connected(Connection)
Successfully connected to the server.
Absent
The server is absent (socket does not exist or connection refused).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConnectResult
impl RefUnwindSafe for ConnectResult
impl Send for ConnectResult
impl Sync for ConnectResult
impl Unpin for ConnectResult
impl UnsafeUnpin for ConnectResult
impl UnwindSafe for ConnectResult
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