Struct wireguard_uapi::get::Device
source · [−]pub struct Device {
pub ifindex: u32,
pub ifname: String,
pub private_key: Option<[u8; 32]>,
pub public_key: Option<[u8; 32]>,
pub listen_port: u16,
pub fwmark: u32,
pub peers: Vec<Peer>,
}Fields
ifindex: u32ifname: Stringprivate_key: Option<[u8; 32]>public_key: Option<[u8; 32]>listen_port: u16fwmark: u32peers: Vec<Peer>Trait Implementations
impl StructuralPartialEq for Device
Auto Trait Implementations
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more