#[repr(C)]pub struct RiceAgentSocket {
pub stream_id: usize,
pub component_id: usize,
pub transport: RiceTransportType,
pub from: *const RiceAddress,
pub to: *const RiceAddress,
}Expand description
A socket with the specified network 5-tuple.
Fields§
§stream_id: usizeThe ICE stream id.
component_id: usizeThe ICE component id.
transport: RiceTransportTypeThe transport type to allocate.
from: *const RiceAddressThe source address to allocate from.
to: *const RiceAddressThe destination address to connect to.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RiceAgentSocket
impl RefUnwindSafe for RiceAgentSocket
impl !Send for RiceAgentSocket
impl !Sync for RiceAgentSocket
impl Unpin for RiceAgentSocket
impl UnwindSafe for RiceAgentSocket
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