pub struct RustlsConnector { /* private fields */ }
Implementations§
Source§impl RustlsConnector
impl RustlsConnector
pub async fn new( server: (String, u16), identity: Option<(Vec<Certificate>, PrivateKey)>, ) -> Result<Self, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RustlsConnector
impl !RefUnwindSafe for RustlsConnector
impl Send for RustlsConnector
impl Sync for RustlsConnector
impl Unpin for RustlsConnector
impl !UnwindSafe for RustlsConnector
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