Struct veloren_network::channel::QuicDrain
source · pub struct QuicDrain {
con: Connection,
main: SendStream,
reliables: HashMap<Sid, SendStream>,
recvstreams_s: UnboundedSender<(BytesMut, Result<Option<usize>, ReadError>, RecvStream, Option<Sid>)>,
sendstreams_r: UnboundedReceiver<SendStream>,
}
Fields§
§con: Connection
§main: SendStream
§reliables: HashMap<Sid, SendStream>
§recvstreams_s: UnboundedSender<(BytesMut, Result<Option<usize>, ReadError>, RecvStream, Option<Sid>)>
§sendstreams_r: UnboundedReceiver<SendStream>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for QuicDrain
impl Send for QuicDrain
impl Sync for QuicDrain
impl Unpin for QuicDrain
impl !UnwindSafe for QuicDrain
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