pub struct UiProtocolNegotiationSpec {
pub mode: &'static str,
pub capability_keys: &'static [&'static str],
pub content_types: &'static [&'static str],
pub transports: &'static [&'static str],
pub fallback_protocols: &'static [&'static str],
}Expand description
How clients and servers discover or negotiate a protocol profile.
Fields§
§mode: &'static str§capability_keys: &'static [&'static str]§content_types: &'static [&'static str]§transports: &'static [&'static str]§fallback_protocols: &'static [&'static str]Trait Implementations§
Source§impl Clone for UiProtocolNegotiationSpec
impl Clone for UiProtocolNegotiationSpec
Source§fn clone(&self) -> UiProtocolNegotiationSpec
fn clone(&self) -> UiProtocolNegotiationSpec
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 UiProtocolNegotiationSpec
impl Debug for UiProtocolNegotiationSpec
Auto Trait Implementations§
impl Freeze for UiProtocolNegotiationSpec
impl RefUnwindSafe for UiProtocolNegotiationSpec
impl Send for UiProtocolNegotiationSpec
impl Sync for UiProtocolNegotiationSpec
impl Unpin for UiProtocolNegotiationSpec
impl UnsafeUnpin for UiProtocolNegotiationSpec
impl UnwindSafe for UiProtocolNegotiationSpec
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