pub struct Connect {
pub config: Config,
pub stream: Arc<TcpStream>,
pub types: String,
pub packet: Packet,
/* private fields */
}Fields§
§config: Config基础配置
stream: Arc<TcpStream>§types: String§packet: PacketImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Connect
impl RefUnwindSafe for Connect
impl Send for Connect
impl Sync for Connect
impl Unpin for Connect
impl UnwindSafe for Connect
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