Struct pnet_transport::TransportReceiver
source · pub struct TransportReceiver {
pub socket: Arc<FileDesc>,
pub buffer: Vec<u8>,
pub channel_type: TransportChannelType,
}
Expand description
Structure used for receiving at the transport layer. Should be created with transport_channel()
.
Fields§
§socket: Arc<FileDesc>
§buffer: Vec<u8>
§channel_type: TransportChannelType
Auto Trait Implementations§
impl RefUnwindSafe for TransportReceiver
impl Send for TransportReceiver
impl Sync for TransportReceiver
impl Unpin for TransportReceiver
impl UnwindSafe for TransportReceiver
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