pub struct Connection { /* private fields */ }Expand description
底层 TCP 连接封装
基于 tokio TcpStream + FutuCodec 的 Framed 连接, 提供异步发送/接收 FutuFrame 的能力。
Implementations§
Source§impl Connection
impl Connection
Auto Trait Implementations§
impl !Freeze for Connection
impl !RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl !UnwindSafe for Connection
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