pub enum VncState<S, F>where
S: AsyncRead + AsyncWrite + Unpin + Send + Sync + 'static,
F: Future<Output = Result<String, VncError>> + Send + Sync + 'static,{
Handshake(VncConnector<S, F>),
Authenticate(VncConnector<S, F>),
Connected(VncClient),
}Variants§
Implementations§
Auto Trait Implementations§
impl<S, F> Freeze for VncState<S, F>
impl<S, F> !RefUnwindSafe for VncState<S, F>
impl<S, F> Send for VncState<S, F>
impl<S, F> Sync for VncState<S, F>
impl<S, F> Unpin for VncState<S, F>where
F: Unpin,
impl<S, F> !UnwindSafe for VncState<S, F>
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