pub struct ServerIdentity { /* private fields */ }Implementations§
Source§impl ServerIdentity
impl ServerIdentity
pub fn from_pem( chain_pem: &[u8], key_pem: &[u8], ) -> Result<ServerIdentity, HostError>
pub fn tcp_rustls(&self) -> Result<Arc<ServerConfig>, HostError>
pub fn webtransport(&self) -> Result<Identity, HostError>
Auto Trait Implementations§
impl Freeze for ServerIdentity
impl RefUnwindSafe for ServerIdentity
impl Send for ServerIdentity
impl Sync for ServerIdentity
impl Unpin for ServerIdentity
impl UnsafeUnpin for ServerIdentity
impl UnwindSafe for ServerIdentity
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