pub struct ConnectOptions { /* private fields */ }Implementations§
Source§impl ConnectOptions
impl ConnectOptions
pub fn new() -> Self
Sourcepub async fn connect(
self,
cb: ConnectionBuilder,
url: String,
) -> Result<Connection, Error>
pub async fn connect( self, cb: ConnectionBuilder, url: String, ) -> Result<Connection, Error>
Connect to a dachannel server.
Auto Trait Implementations§
impl Freeze for ConnectOptions
impl RefUnwindSafe for ConnectOptions
impl Send for ConnectOptions
impl Sync for ConnectOptions
impl Unpin for ConnectOptions
impl UnwindSafe for ConnectOptions
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