#[repr(C)]pub struct RiceTransmit {
pub stream_id: usize,
pub transport: RiceTransportType,
pub from: *const RiceAddress,
pub to: *const RiceAddress,
pub data: RiceDataImpl,
}Expand description
Transmit the data using the specified 5-tuple.
Fields§
§stream_id: usizeThe associated stream identifier.
transport: RiceTransportTypeThe transport type for the transmission.
from: *const RiceAddressThe socket source address to send from.
to: *const RiceAddressThe socket destination address to send to.
data: RiceDataImplThe data to send.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RiceTransmit
impl RefUnwindSafe for RiceTransmit
impl !Send for RiceTransmit
impl !Sync for RiceTransmit
impl Unpin for RiceTransmit
impl UnwindSafe for RiceTransmit
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