pub struct WgStatus {
pub state: String,
pub exit_if_index: Option<u32>,
pub handshake_age_secs: Option<u64>,
pub udp_out: u64,
pub udp_in: u64,
pub send_fail: u64,
pub last_err: i32,
pub rebind_count: u64,
}Fields§
§state: String§exit_if_index: Option<u32>§handshake_age_secs: Option<u64>§udp_out: u64§udp_in: u64§send_fail: u64§last_err: i32§rebind_count: u64Implementations§
Trait Implementations§
impl Eq for WgStatus
impl StructuralPartialEq for WgStatus
Auto Trait Implementations§
impl Freeze for WgStatus
impl RefUnwindSafe for WgStatus
impl Send for WgStatus
impl Sync for WgStatus
impl Unpin for WgStatus
impl UnsafeUnpin for WgStatus
impl UnwindSafe for WgStatus
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