pub enum AcceptedSession {
Tunnel(PendingTunnel),
HttpForward(PendingHttpForward),
UdpAssociate(PendingUdpAssociate),
Echo(BoxStream),
}Expand description
The result of accepting an inbound connection.
Variants§
Tunnel(PendingTunnel)
HttpForward(PendingHttpForward)
UdpAssociate(PendingUdpAssociate)
Echo(BoxStream)
Auto Trait Implementations§
impl !RefUnwindSafe for AcceptedSession
impl !Sync for AcceptedSession
impl !UnwindSafe for AcceptedSession
impl Freeze for AcceptedSession
impl Send for AcceptedSession
impl Unpin for AcceptedSession
impl UnsafeUnpin for AcceptedSession
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