Struct rust_rcs_core::io::network::stream::ClientSocket
source · pub struct ClientSocket(pub TcpSocket);
Tuple Fields§
§0: TcpSocket
Implementations§
source§impl ClientSocket
impl ClientSocket
pub fn configure_tls( &self, config: Arc<ClientConfig>, server_name: &str ) -> Result<ClientConnection>
pub async fn connect( self, ip: IpAddr, port: u16, cc: Option<ClientConnection> ) -> Result<ClientStream>
Auto Trait Implementations§
impl RefUnwindSafe for ClientSocket
impl Send for ClientSocket
impl Sync for ClientSocket
impl Unpin for ClientSocket
impl UnwindSafe for ClientSocket
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