pub struct AgentTransmit {
pub stream_id: usize,
pub from: Address,
pub to: Address,
pub transport: TransportType,
pub data: &'static [u8],
}Expand description
Transmit the data using the specified 5-tuple.
Fields§
§stream_id: usizeThe ICE stream id.
from: AddressThe socket to send the data from.
to: AddressThe network address to send the data to.
transport: TransportTypeThe transport to send the data over.
data: &'static [u8]The data to send.
Trait Implementations§
Source§impl Debug for AgentTransmit
impl Debug for AgentTransmit
Auto Trait Implementations§
impl Freeze for AgentTransmit
impl RefUnwindSafe for AgentTransmit
impl Send for AgentTransmit
impl Sync for AgentTransmit
impl Unpin for AgentTransmit
impl UnwindSafe for AgentTransmit
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