pub struct MoqConnection {
pub path: String,
pub session: WebTransportSession,
pub response_tx: Sender<MoqConnectionResult>,
}Expand description
A WebTransport connection that needs to be routed to a moq_peer node
Fields§
§path: StringThe path requested (e.g., “/moq/anon/input”)
session: WebTransportSessionThe WebTransport session handle (type-erased)
response_tx: Sender<MoqConnectionResult>Channel to send response back to gateway
Auto Trait Implementations§
impl Freeze for MoqConnection
impl !RefUnwindSafe for MoqConnection
impl Send for MoqConnection
impl !Sync for MoqConnection
impl Unpin for MoqConnection
impl !UnwindSafe for MoqConnection
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