pub enum ConnectOutcome {
Accepted(LocalClient),
Rejected(String),
}Expand description
Outcome of a connect attempt. Rejected connections leave no registered state on the server.
Variants§
Accepted(LocalClient)
Rejected(String)
Auto Trait Implementations§
impl Freeze for ConnectOutcome
impl RefUnwindSafe for ConnectOutcome
impl Send for ConnectOutcome
impl !Sync for ConnectOutcome
impl Unpin for ConnectOutcome
impl UnsafeUnpin for ConnectOutcome
impl UnwindSafe for ConnectOutcome
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