pub struct NetConnect;Expand description
Permission to open outbound TCP and UDP connections.
Trait Implementations§
Source§impl CapProvider<NetConnect> for Cap<(Ambient, NetConnect)>
impl CapProvider<NetConnect> for Cap<(Ambient, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(EnvRead, NetConnect)>
impl CapProvider<NetConnect> for Cap<(EnvRead, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(EnvWrite, NetConnect)>
impl CapProvider<NetConnect> for Cap<(EnvWrite, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(FsAll, NetConnect)>
impl CapProvider<NetConnect> for Cap<(FsAll, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(FsRead, NetConnect)>
impl CapProvider<NetConnect> for Cap<(FsRead, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(FsWrite, NetConnect)>
impl CapProvider<NetConnect> for Cap<(FsWrite, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(NetAll, NetConnect)>
impl CapProvider<NetConnect> for Cap<(NetAll, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(NetBind, NetConnect)>
impl CapProvider<NetConnect> for Cap<(NetBind, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(NetConnect, Ambient)>
impl CapProvider<NetConnect> for Cap<(NetConnect, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(NetConnect, EnvRead)>
impl CapProvider<NetConnect> for Cap<(NetConnect, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(NetConnect, EnvWrite)>
impl CapProvider<NetConnect> for Cap<(NetConnect, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(NetConnect, FsAll)>
impl CapProvider<NetConnect> for Cap<(NetConnect, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(NetConnect, FsRead)>
impl CapProvider<NetConnect> for Cap<(NetConnect, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(NetConnect, FsWrite)>
impl CapProvider<NetConnect> for Cap<(NetConnect, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(NetConnect, NetAll)>
impl CapProvider<NetConnect> for Cap<(NetConnect, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(NetConnect, NetBind)>
impl CapProvider<NetConnect> for Cap<(NetConnect, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(NetConnect, NetConnect)>
impl CapProvider<NetConnect> for Cap<(NetConnect, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(NetConnect, Spawn)>
impl CapProvider<NetConnect> for Cap<(NetConnect, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<(Spawn, NetConnect)>
impl CapProvider<NetConnect> for Cap<(Spawn, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<Ambient>
impl CapProvider<NetConnect> for Cap<Ambient>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for Cap<NetAll>
impl CapProvider<NetConnect> for Cap<NetAll>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(Ambient, NetConnect)>
impl CapProvider<NetConnect> for SendCap<(Ambient, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(EnvRead, NetConnect)>
impl CapProvider<NetConnect> for SendCap<(EnvRead, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(EnvWrite, NetConnect)>
impl CapProvider<NetConnect> for SendCap<(EnvWrite, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(FsAll, NetConnect)>
impl CapProvider<NetConnect> for SendCap<(FsAll, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(FsRead, NetConnect)>
impl CapProvider<NetConnect> for SendCap<(FsRead, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(FsWrite, NetConnect)>
impl CapProvider<NetConnect> for SendCap<(FsWrite, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(NetAll, NetConnect)>
impl CapProvider<NetConnect> for SendCap<(NetAll, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(NetBind, NetConnect)>
impl CapProvider<NetConnect> for SendCap<(NetBind, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(NetConnect, Ambient)>
impl CapProvider<NetConnect> for SendCap<(NetConnect, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(NetConnect, EnvRead)>
impl CapProvider<NetConnect> for SendCap<(NetConnect, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(NetConnect, EnvWrite)>
impl CapProvider<NetConnect> for SendCap<(NetConnect, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(NetConnect, FsAll)>
impl CapProvider<NetConnect> for SendCap<(NetConnect, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(NetConnect, FsRead)>
impl CapProvider<NetConnect> for SendCap<(NetConnect, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(NetConnect, FsWrite)>
impl CapProvider<NetConnect> for SendCap<(NetConnect, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(NetConnect, NetAll)>
impl CapProvider<NetConnect> for SendCap<(NetConnect, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(NetConnect, NetBind)>
impl CapProvider<NetConnect> for SendCap<(NetConnect, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(NetConnect, NetConnect)>
impl CapProvider<NetConnect> for SendCap<(NetConnect, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(NetConnect, Spawn)>
impl CapProvider<NetConnect> for SendCap<(NetConnect, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<(Spawn, NetConnect)>
impl CapProvider<NetConnect> for SendCap<(Spawn, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<Ambient>
impl CapProvider<NetConnect> for SendCap<Ambient>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl CapProvider<NetConnect> for SendCap<NetAll>
impl CapProvider<NetConnect> for SendCap<NetAll>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetConnect>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl Has<NetConnect> for Cap<(Ambient, NetConnect)>
impl Has<NetConnect> for Cap<(Ambient, NetConnect)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(EnvRead, NetConnect)>
impl Has<NetConnect> for Cap<(EnvRead, NetConnect)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(EnvWrite, NetConnect)>
impl Has<NetConnect> for Cap<(EnvWrite, NetConnect)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(FsAll, NetConnect)>
impl Has<NetConnect> for Cap<(FsAll, NetConnect)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(FsRead, NetConnect)>
impl Has<NetConnect> for Cap<(FsRead, NetConnect)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(FsWrite, NetConnect)>
impl Has<NetConnect> for Cap<(FsWrite, NetConnect)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(NetAll, NetConnect)>
impl Has<NetConnect> for Cap<(NetAll, NetConnect)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(NetBind, NetConnect)>
impl Has<NetConnect> for Cap<(NetBind, NetConnect)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(NetConnect, Ambient)>
impl Has<NetConnect> for Cap<(NetConnect, Ambient)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(NetConnect, EnvRead)>
impl Has<NetConnect> for Cap<(NetConnect, EnvRead)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(NetConnect, EnvWrite)>
impl Has<NetConnect> for Cap<(NetConnect, EnvWrite)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(NetConnect, FsAll)>
impl Has<NetConnect> for Cap<(NetConnect, FsAll)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(NetConnect, FsRead)>
impl Has<NetConnect> for Cap<(NetConnect, FsRead)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(NetConnect, FsWrite)>
impl Has<NetConnect> for Cap<(NetConnect, FsWrite)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(NetConnect, NetAll)>
impl Has<NetConnect> for Cap<(NetConnect, NetAll)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(NetConnect, NetBind)>
impl Has<NetConnect> for Cap<(NetConnect, NetBind)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(NetConnect, NetConnect)>
impl Has<NetConnect> for Cap<(NetConnect, NetConnect)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(NetConnect, Spawn)>
impl Has<NetConnect> for Cap<(NetConnect, Spawn)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<(Spawn, NetConnect)>
impl Has<NetConnect> for Cap<(Spawn, NetConnect)>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<Ambient>
impl Has<NetConnect> for Cap<Ambient>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.Source§impl Has<NetConnect> for Cap<NetAll>
impl Has<NetConnect> for Cap<NetAll>
Source§fn cap_ref(&self) -> Cap<NetConnect>
fn cap_ref(&self) -> Cap<NetConnect>
Returns a new
Cap<P> proving the permission is available.impl Permission for NetConnect
impl Subsumes<NetConnect> for NetAll
Auto Trait Implementations§
impl Freeze for NetConnect
impl RefUnwindSafe for NetConnect
impl Send for NetConnect
impl Sync for NetConnect
impl Unpin for NetConnect
impl UnsafeUnpin for NetConnect
impl UnwindSafe for NetConnect
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