pub struct ClientConnectWsBuilder<'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> ClientConnectWsBuilder<'f1, S>
impl<'f1, S: State> ClientConnectWsBuilder<'f1, S>
Sourcepub async fn call(self) -> SDKResult<WebsocketHandle, WSErrors>where
S: IsComplete,
pub async fn call(self) -> SDKResult<WebsocketHandle, WSErrors>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn config(
self,
value: WebsocketConfig,
) -> ClientConnectWsBuilder<'f1, SetConfig<S>>where
S::Config: IsUnset,
pub fn config(
self,
value: WebsocketConfig,
) -> ClientConnectWsBuilder<'f1, SetConfig<S>>where
S::Config: IsUnset,
Sourcepub fn maybe_config(
self,
value: Option<WebsocketConfig>,
) -> ClientConnectWsBuilder<'f1, SetConfig<S>>where
S::Config: IsUnset,
pub fn maybe_config(
self,
value: Option<WebsocketConfig>,
) -> ClientConnectWsBuilder<'f1, SetConfig<S>>where
S::Config: IsUnset,
Auto Trait Implementations§
impl<'f1, S> Freeze for ClientConnectWsBuilder<'f1, S>
impl<'f1, S = Empty> !RefUnwindSafe for ClientConnectWsBuilder<'f1, S>
impl<'f1, S> Send for ClientConnectWsBuilder<'f1, S>
impl<'f1, S> Sync for ClientConnectWsBuilder<'f1, S>
impl<'f1, S> Unpin for ClientConnectWsBuilder<'f1, S>
impl<'f1, S> UnsafeUnpin for ClientConnectWsBuilder<'f1, S>
impl<'f1, S = Empty> !UnwindSafe for ClientConnectWsBuilder<'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