pub struct WsConstructorBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> WsConstructorBuilder<S>
impl<S: State> WsConstructorBuilder<S>
Sourcepub fn build(self) -> WsConstructorwhere
S: IsComplete,
pub fn build(self) -> WsConstructorwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn ws(self, value: WsToken) -> WsConstructorBuilder<SetWs<S>>where
S::Ws: IsUnset,
pub fn ws(self, value: WsToken) -> WsConstructorBuilder<SetWs<S>>where
S::Ws: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for WsConstructorBuilder<S>
impl<S> RefUnwindSafe for WsConstructorBuilder<S>
impl<S> Send for WsConstructorBuilder<S>
impl<S> Sync for WsConstructorBuilder<S>
impl<S> Unpin for WsConstructorBuilder<S>
impl<S> UnwindSafe for WsConstructorBuilder<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