pub struct Connect {
pub uri: Uri,
pub addr: Option<SocketAddr>,
}
Fields§
§uri: Uri
§addr: Option<SocketAddr>
Trait Implementations§
Auto Trait Implementations§
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