pub struct ResolvedEndpoint {
pub url: String,
pub protocols: Vec<String>,
}Expand description
Fully resolved URL and WebSocket subprotocols for one connection attempt.
Fields§
§url: StringWebSocket URL including query parameters and vsn=2.0.0.
protocols: Vec<String>Requested WebSocket subprotocols, including encoded authentication.
Trait Implementations§
Source§impl Clone for ResolvedEndpoint
impl Clone for ResolvedEndpoint
Source§fn clone(&self) -> ResolvedEndpoint
fn clone(&self) -> ResolvedEndpoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedEndpoint
impl Debug for ResolvedEndpoint
Source§impl PartialEq for ResolvedEndpoint
impl PartialEq for ResolvedEndpoint
Source§fn eq(&self, other: &ResolvedEndpoint) -> bool
fn eq(&self, other: &ResolvedEndpoint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ResolvedEndpoint
impl StructuralPartialEq for ResolvedEndpoint
Auto Trait Implementations§
impl Freeze for ResolvedEndpoint
impl RefUnwindSafe for ResolvedEndpoint
impl Send for ResolvedEndpoint
impl Sync for ResolvedEndpoint
impl Unpin for ResolvedEndpoint
impl UnsafeUnpin for ResolvedEndpoint
impl UnwindSafe for ResolvedEndpoint
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