pub struct Ping<'a> {
pub peer: &'a str,
pub count: Option<i32>,
}
Fields§
§peer: &'a str
§count: Option<i32>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Ping<'a>
impl<'a> RefUnwindSafe for Ping<'a>
impl<'a> Send for Ping<'a>
impl<'a> Sync for Ping<'a>
impl<'a> Unpin for Ping<'a>
impl<'a> UnwindSafe for Ping<'a>
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