pub struct IpStackUnknownTransport { /* private fields */ }Implementations§
Source§impl IpStackUnknownTransport
impl IpStackUnknownTransport
pub fn src_addr(&self) -> IpAddr
pub fn dst_addr(&self) -> IpAddr
pub fn payload(&self) -> &[u8] ⓘ
pub fn ip_protocol(&self) -> IpNumber
pub fn send(&self, payload: Vec<u8>) -> Result<(), Error>
pub fn create_rev_packet(&self, payload: &mut Vec<u8>) -> Result<NetworkPacket>
Auto Trait Implementations§
impl Freeze for IpStackUnknownTransport
impl RefUnwindSafe for IpStackUnknownTransport
impl Send for IpStackUnknownTransport
impl Sync for IpStackUnknownTransport
impl Unpin for IpStackUnknownTransport
impl UnsafeUnpin for IpStackUnknownTransport
impl UnwindSafe for IpStackUnknownTransport
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