pub struct ConnectState { /* private fields */ }Implementations§
Source§impl ConnectState
impl ConnectState
pub fn dummy() -> Self
pub fn new( host: &str, port: u16, use_tls: bool, extra_roots: Vec<Vec<u8>>, ) -> Result<Self, String>
pub fn phase(&self) -> ConnPhase
pub fn fd(&self) -> Option<RawFd>
pub fn wants_read(&self) -> bool
pub fn wants_write(&self) -> bool
pub fn try_advance(&mut self) -> ConnEvent
Auto Trait Implementations§
impl !RefUnwindSafe for ConnectState
impl !UnwindSafe for ConnectState
impl Freeze for ConnectState
impl Send for ConnectState
impl Sync for ConnectState
impl Unpin for ConnectState
impl UnsafeUnpin for ConnectState
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