pub struct WebTransportConfig { /* private fields */ }Implementations§
Source§impl WebTransportConfig
impl WebTransportConfig
pub fn identity(identity: Identity) -> WebTransportConfig
pub fn server_config(config: ServerConfig) -> WebTransportConfig
pub fn pem( chain_pem: &[u8], key_pem: &[u8], ) -> Result<WebTransportConfig, HostError>
pub fn self_signed_for_development<I, S>( hostnames: I, ) -> Result<WebTransportConfig, HostError>
Auto Trait Implementations§
impl !RefUnwindSafe for WebTransportConfig
impl !UnwindSafe for WebTransportConfig
impl Freeze for WebTransportConfig
impl Send for WebTransportConfig
impl Sync for WebTransportConfig
impl Unpin for WebTransportConfig
impl UnsafeUnpin for WebTransportConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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