#[repr(C)]pub struct landlock_net_port_attr {
pub allowed_access: __u64,
pub port: __u64,
}
Fields§
§allowed_access: __u64
§port: __u64
Trait Implementations§
Source§impl Clone for landlock_net_port_attr
impl Clone for landlock_net_port_attr
Source§fn clone(&self) -> landlock_net_port_attr
fn clone(&self) -> landlock_net_port_attr
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for landlock_net_port_attr
impl Debug for landlock_net_port_attr
impl Copy for landlock_net_port_attr
Auto Trait Implementations§
impl Freeze for landlock_net_port_attr
impl RefUnwindSafe for landlock_net_port_attr
impl Send for landlock_net_port_attr
impl Sync for landlock_net_port_attr
impl Unpin for landlock_net_port_attr
impl UnwindSafe for landlock_net_port_attr
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