pub struct ClientConnectWsManagedBuilder<'f1, S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with call().
Implementations§
Source§impl<'f1, S: State> ClientConnectWsManagedBuilder<'f1, S>
impl<'f1, S: State> ClientConnectWsManagedBuilder<'f1, S>
Sourcepub async fn call(self) -> Result<ManagedWebsocket, WSErrors>where
S: IsComplete,
pub async fn call(self) -> Result<ManagedWebsocket, WSErrors>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn config(
self,
value: ManagedWsConfig,
) -> ClientConnectWsManagedBuilder<'f1, SetConfig<S>>where
S::Config: IsUnset,
pub fn config(
self,
value: ManagedWsConfig,
) -> ClientConnectWsManagedBuilder<'f1, SetConfig<S>>where
S::Config: IsUnset,
Sourcepub fn maybe_config(
self,
value: Option<ManagedWsConfig>,
) -> ClientConnectWsManagedBuilder<'f1, SetConfig<S>>where
S::Config: IsUnset,
pub fn maybe_config(
self,
value: Option<ManagedWsConfig>,
) -> ClientConnectWsManagedBuilder<'f1, SetConfig<S>>where
S::Config: IsUnset,
Auto Trait Implementations§
impl<'f1, S> Freeze for ClientConnectWsManagedBuilder<'f1, S>
impl<'f1, S = Empty> !RefUnwindSafe for ClientConnectWsManagedBuilder<'f1, S>
impl<'f1, S> Send for ClientConnectWsManagedBuilder<'f1, S>
impl<'f1, S> Sync for ClientConnectWsManagedBuilder<'f1, S>
impl<'f1, S> Unpin for ClientConnectWsManagedBuilder<'f1, S>
impl<'f1, S> UnsafeUnpin for ClientConnectWsManagedBuilder<'f1, S>
impl<'f1, S = Empty> !UnwindSafe for ClientConnectWsManagedBuilder<'f1, S>
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