pub struct WampRequest<U: ToString, P: ToString> {
pub uri: U,
pub protocol: P,
}
Fields§
§uri: U
§protocol: P
Trait Implementations§
Source§impl<U: ToString, P: ToString> IntoClientRequest for WampRequest<U, P>
impl<U: ToString, P: ToString> IntoClientRequest for WampRequest<U, P>
Source§fn into_client_request(self) -> Result<Request>
fn into_client_request(self) -> Result<Request>
Convert into a
Request
that can be used for a client connection.Auto Trait Implementations§
impl<U, P> Freeze for WampRequest<U, P>
impl<U, P> RefUnwindSafe for WampRequest<U, P>where
U: RefUnwindSafe,
P: RefUnwindSafe,
impl<U, P> Send for WampRequest<U, P>
impl<U, P> Sync for WampRequest<U, P>
impl<U, P> Unpin for WampRequest<U, P>
impl<U, P> UnwindSafe for WampRequest<U, P>where
U: UnwindSafe,
P: UnwindSafe,
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