pub struct OutgoingDatagram {
pub proto: SfuProtocol,
pub source: SocketAddr,
pub destination: SocketAddr,
pub contents: Vec<u8>,
}Expand description
A datagram the SFU wants to send.
Fields§
§proto: SfuProtocolTransport protocol.
source: SocketAddrSource (local) address.
destination: SocketAddrDestination (remote) address.
contents: Vec<u8>Wire bytes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OutgoingDatagram
impl RefUnwindSafe for OutgoingDatagram
impl Send for OutgoingDatagram
impl Sync for OutgoingDatagram
impl Unpin for OutgoingDatagram
impl UnsafeUnpin for OutgoingDatagram
impl UnwindSafe for OutgoingDatagram
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