pub struct DropIp {
pub info: IpInfo,
}
Expand description
A wrapper for IpInfo that deletes the associated address when dropped. Mostly for testing purposes< carefully.
Fields§
§info: IpInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DropIp
impl RefUnwindSafe for DropIp
impl Send for DropIp
impl Sync for DropIp
impl Unpin for DropIp
impl UnwindSafe for DropIp
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