Struct salvo_core::conn::quinn::QuinnAcceptor
source · pub struct QuinnAcceptor<S, C, E> { /* private fields */ }
Available on crate feature
quinn
only.Expand description
A wrapper of Acceptor
with quinn.
Implementations§
source§impl<S, C, E> QuinnAcceptor<S, C, E>
impl<S, C, E> QuinnAcceptor<S, C, E>
sourcepub fn new(config_stream: S, socket: SocketAddr) -> QuinnAcceptor<S, C, E>
pub fn new(config_stream: S, socket: SocketAddr) -> QuinnAcceptor<S, C, E>
Create a new QuinnAcceptor
.
Trait Implementations§
Auto Trait Implementations§
impl<S, C, E> Freeze for QuinnAcceptor<S, C, E>where
S: Freeze,
impl<S, C, E> !RefUnwindSafe for QuinnAcceptor<S, C, E>
impl<S, C, E> Send for QuinnAcceptor<S, C, E>
impl<S, C, E> Sync for QuinnAcceptor<S, C, E>
impl<S, C, E> Unpin for QuinnAcceptor<S, C, E>
impl<S, C, E> !UnwindSafe for QuinnAcceptor<S, C, E>
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