pub struct UdpVisibilityCapability { /* private fields */ }
Expand description
The UdpVisibilityCapability and IpVisibilityCapability has an empty private
field to make it so the only way to create these structs is via a call to
new
which requires a NetworkCapabilityCreationCapability.
Implementations§
source§impl UdpVisibilityCapability
impl UdpVisibilityCapability
pub fn new( _create_net_cap: &dyn NetworkCapabilityCreationCapability, ) -> UdpVisibilityCapability
Auto Trait Implementations§
impl Freeze for UdpVisibilityCapability
impl RefUnwindSafe for UdpVisibilityCapability
impl Send for UdpVisibilityCapability
impl Sync for UdpVisibilityCapability
impl Unpin for UdpVisibilityCapability
impl UnwindSafe for UdpVisibilityCapability
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