pub struct PathInfo {
pub from: SocketAddr,
pub to: SocketAddr,
}Expand description
The oatg information for transfered udp data.
Fields§
§from: SocketAddrThe packet from udp endpoint.
to: SocketAddrThe packet to udp endpoint
Trait Implementations§
impl Copy for PathInfo
impl Eq for PathInfo
impl StructuralPartialEq for PathInfo
Auto Trait Implementations§
impl Freeze for PathInfo
impl RefUnwindSafe for PathInfo
impl Send for PathInfo
impl Sync for PathInfo
impl Unpin for PathInfo
impl UnwindSafe for PathInfo
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