pub struct Cap<P: Permission> { /* private fields */ }Expand description
A zero-sized capability token proving the holder has permission P.
Cannot be constructed outside of capsec-core — only
CapRoot::grant can create one.
!Send and !Sync by default to scope capabilities to the granting thread.
§Example
ⓘ
let root = test_root();
let cap = root.grant::<FsRead>();
// cap is a proof token — zero bytes at runtime
assert_eq!(std::mem::size_of_val(&cap), 0);Implementations§
Source§impl<P: Permission> Cap<P>
impl<P: Permission> Cap<P>
Sourcepub fn attenuate<S: Scope>(self, scope: S) -> Attenuated<P, S>
pub fn attenuate<S: Scope>(self, scope: S) -> Attenuated<P, S>
Narrows this capability to a specific scope.
Consumes the original Cap<P> and returns an Attenuated<P, S> that
can only act on targets within the scope.
Trait Implementations§
Source§impl CapProvider<Ambient> for Cap<(Ambient, Ambient)>
impl CapProvider<Ambient> for Cap<(Ambient, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(Ambient, EnvRead)>
impl CapProvider<Ambient> for Cap<(Ambient, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(Ambient, EnvWrite)>
impl CapProvider<Ambient> for Cap<(Ambient, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(Ambient, FsAll)>
impl CapProvider<Ambient> for Cap<(Ambient, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(Ambient, FsRead)>
impl CapProvider<Ambient> for Cap<(Ambient, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(Ambient, FsWrite)>
impl CapProvider<Ambient> for Cap<(Ambient, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(Ambient, NetAll)>
impl CapProvider<Ambient> for Cap<(Ambient, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(Ambient, NetBind)>
impl CapProvider<Ambient> for Cap<(Ambient, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(Ambient, NetConnect)>
impl CapProvider<Ambient> for Cap<(Ambient, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(Ambient, Spawn)>
impl CapProvider<Ambient> for Cap<(Ambient, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(EnvRead, Ambient)>
impl CapProvider<Ambient> for Cap<(EnvRead, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(EnvWrite, Ambient)>
impl CapProvider<Ambient> for Cap<(EnvWrite, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(FsAll, Ambient)>
impl CapProvider<Ambient> for Cap<(FsAll, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(FsRead, Ambient)>
impl CapProvider<Ambient> for Cap<(FsRead, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(FsWrite, Ambient)>
impl CapProvider<Ambient> for Cap<(FsWrite, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(NetAll, Ambient)>
impl CapProvider<Ambient> for Cap<(NetAll, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(NetBind, Ambient)>
impl CapProvider<Ambient> for Cap<(NetBind, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(NetConnect, Ambient)>
impl CapProvider<Ambient> for Cap<(NetConnect, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<Ambient> for Cap<(Spawn, Ambient)>
impl CapProvider<Ambient> for Cap<(Spawn, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Ambient>, 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<EnvRead> for Cap<(Ambient, EnvRead)>
impl CapProvider<EnvRead> for Cap<(Ambient, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(EnvRead, Ambient)>
impl CapProvider<EnvRead> for Cap<(EnvRead, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(EnvRead, EnvRead)>
impl CapProvider<EnvRead> for Cap<(EnvRead, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(EnvRead, EnvWrite)>
impl CapProvider<EnvRead> for Cap<(EnvRead, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(EnvRead, FsAll)>
impl CapProvider<EnvRead> for Cap<(EnvRead, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(EnvRead, FsRead)>
impl CapProvider<EnvRead> for Cap<(EnvRead, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(EnvRead, FsWrite)>
impl CapProvider<EnvRead> for Cap<(EnvRead, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(EnvRead, NetAll)>
impl CapProvider<EnvRead> for Cap<(EnvRead, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(EnvRead, NetBind)>
impl CapProvider<EnvRead> for Cap<(EnvRead, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(EnvRead, NetConnect)>
impl CapProvider<EnvRead> for Cap<(EnvRead, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(EnvRead, Spawn)>
impl CapProvider<EnvRead> for Cap<(EnvRead, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(EnvWrite, EnvRead)>
impl CapProvider<EnvRead> for Cap<(EnvWrite, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(FsAll, EnvRead)>
impl CapProvider<EnvRead> for Cap<(FsAll, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(FsRead, EnvRead)>
impl CapProvider<EnvRead> for Cap<(FsRead, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(FsWrite, EnvRead)>
impl CapProvider<EnvRead> for Cap<(FsWrite, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(NetAll, EnvRead)>
impl CapProvider<EnvRead> for Cap<(NetAll, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(NetBind, EnvRead)>
impl CapProvider<EnvRead> for Cap<(NetBind, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(NetConnect, EnvRead)>
impl CapProvider<EnvRead> for Cap<(NetConnect, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<(Spawn, EnvRead)>
impl CapProvider<EnvRead> for Cap<(Spawn, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvRead> for Cap<Ambient>
impl CapProvider<EnvRead> for Cap<Ambient>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvRead>, 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<EnvWrite> for Cap<(Ambient, EnvWrite)>
impl CapProvider<EnvWrite> for Cap<(Ambient, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(EnvRead, EnvWrite)>
impl CapProvider<EnvWrite> for Cap<(EnvRead, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(EnvWrite, Ambient)>
impl CapProvider<EnvWrite> for Cap<(EnvWrite, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(EnvWrite, EnvRead)>
impl CapProvider<EnvWrite> for Cap<(EnvWrite, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(EnvWrite, EnvWrite)>
impl CapProvider<EnvWrite> for Cap<(EnvWrite, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(EnvWrite, FsAll)>
impl CapProvider<EnvWrite> for Cap<(EnvWrite, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(EnvWrite, FsRead)>
impl CapProvider<EnvWrite> for Cap<(EnvWrite, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(EnvWrite, FsWrite)>
impl CapProvider<EnvWrite> for Cap<(EnvWrite, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(EnvWrite, NetAll)>
impl CapProvider<EnvWrite> for Cap<(EnvWrite, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(EnvWrite, NetBind)>
impl CapProvider<EnvWrite> for Cap<(EnvWrite, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(EnvWrite, NetConnect)>
impl CapProvider<EnvWrite> for Cap<(EnvWrite, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(EnvWrite, Spawn)>
impl CapProvider<EnvWrite> for Cap<(EnvWrite, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(FsAll, EnvWrite)>
impl CapProvider<EnvWrite> for Cap<(FsAll, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(FsRead, EnvWrite)>
impl CapProvider<EnvWrite> for Cap<(FsRead, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(FsWrite, EnvWrite)>
impl CapProvider<EnvWrite> for Cap<(FsWrite, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(NetAll, EnvWrite)>
impl CapProvider<EnvWrite> for Cap<(NetAll, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(NetBind, EnvWrite)>
impl CapProvider<EnvWrite> for Cap<(NetBind, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(NetConnect, EnvWrite)>
impl CapProvider<EnvWrite> for Cap<(NetConnect, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<(Spawn, EnvWrite)>
impl CapProvider<EnvWrite> for Cap<(Spawn, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<EnvWrite> for Cap<Ambient>
impl CapProvider<EnvWrite> for Cap<Ambient>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<EnvWrite>, 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<FsAll> for Cap<(Ambient, FsAll)>
impl CapProvider<FsAll> for Cap<(Ambient, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(EnvRead, FsAll)>
impl CapProvider<FsAll> for Cap<(EnvRead, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(EnvWrite, FsAll)>
impl CapProvider<FsAll> for Cap<(EnvWrite, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(FsAll, Ambient)>
impl CapProvider<FsAll> for Cap<(FsAll, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(FsAll, EnvRead)>
impl CapProvider<FsAll> for Cap<(FsAll, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(FsAll, EnvWrite)>
impl CapProvider<FsAll> for Cap<(FsAll, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(FsAll, FsAll)>
impl CapProvider<FsAll> for Cap<(FsAll, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(FsAll, FsRead)>
impl CapProvider<FsAll> for Cap<(FsAll, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(FsAll, FsWrite)>
impl CapProvider<FsAll> for Cap<(FsAll, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(FsAll, NetAll)>
impl CapProvider<FsAll> for Cap<(FsAll, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(FsAll, NetBind)>
impl CapProvider<FsAll> for Cap<(FsAll, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(FsAll, NetConnect)>
impl CapProvider<FsAll> for Cap<(FsAll, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(FsAll, Spawn)>
impl CapProvider<FsAll> for Cap<(FsAll, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(FsRead, FsAll)>
impl CapProvider<FsAll> for Cap<(FsRead, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(FsWrite, FsAll)>
impl CapProvider<FsAll> for Cap<(FsWrite, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(NetAll, FsAll)>
impl CapProvider<FsAll> for Cap<(NetAll, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(NetBind, FsAll)>
impl CapProvider<FsAll> for Cap<(NetBind, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(NetConnect, FsAll)>
impl CapProvider<FsAll> for Cap<(NetConnect, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<(Spawn, FsAll)>
impl CapProvider<FsAll> for Cap<(Spawn, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsAll> for Cap<Ambient>
impl CapProvider<FsAll> for Cap<Ambient>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsAll>, 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<FsRead> for Cap<(Ambient, FsRead)>
impl CapProvider<FsRead> for Cap<(Ambient, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(EnvRead, FsRead)>
impl CapProvider<FsRead> for Cap<(EnvRead, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(EnvWrite, FsRead)>
impl CapProvider<FsRead> for Cap<(EnvWrite, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(FsAll, FsRead)>
impl CapProvider<FsRead> for Cap<(FsAll, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(FsRead, Ambient)>
impl CapProvider<FsRead> for Cap<(FsRead, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(FsRead, EnvRead)>
impl CapProvider<FsRead> for Cap<(FsRead, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(FsRead, EnvWrite)>
impl CapProvider<FsRead> for Cap<(FsRead, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(FsRead, FsAll)>
impl CapProvider<FsRead> for Cap<(FsRead, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(FsRead, FsRead)>
impl CapProvider<FsRead> for Cap<(FsRead, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(FsRead, FsWrite)>
impl CapProvider<FsRead> for Cap<(FsRead, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(FsRead, NetAll)>
impl CapProvider<FsRead> for Cap<(FsRead, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(FsRead, NetBind)>
impl CapProvider<FsRead> for Cap<(FsRead, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(FsRead, NetConnect)>
impl CapProvider<FsRead> for Cap<(FsRead, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(FsRead, Spawn)>
impl CapProvider<FsRead> for Cap<(FsRead, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(FsWrite, FsRead)>
impl CapProvider<FsRead> for Cap<(FsWrite, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(NetAll, FsRead)>
impl CapProvider<FsRead> for Cap<(NetAll, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(NetBind, FsRead)>
impl CapProvider<FsRead> for Cap<(NetBind, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(NetConnect, FsRead)>
impl CapProvider<FsRead> for Cap<(NetConnect, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<(Spawn, FsRead)>
impl CapProvider<FsRead> for Cap<(Spawn, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<Ambient>
impl CapProvider<FsRead> for Cap<Ambient>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsRead> for Cap<FsAll>
impl CapProvider<FsRead> for Cap<FsAll>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsRead>, 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<FsWrite> for Cap<(Ambient, FsWrite)>
impl CapProvider<FsWrite> for Cap<(Ambient, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(EnvRead, FsWrite)>
impl CapProvider<FsWrite> for Cap<(EnvRead, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(EnvWrite, FsWrite)>
impl CapProvider<FsWrite> for Cap<(EnvWrite, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(FsAll, FsWrite)>
impl CapProvider<FsWrite> for Cap<(FsAll, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(FsRead, FsWrite)>
impl CapProvider<FsWrite> for Cap<(FsRead, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(FsWrite, Ambient)>
impl CapProvider<FsWrite> for Cap<(FsWrite, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(FsWrite, EnvRead)>
impl CapProvider<FsWrite> for Cap<(FsWrite, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(FsWrite, EnvWrite)>
impl CapProvider<FsWrite> for Cap<(FsWrite, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(FsWrite, FsAll)>
impl CapProvider<FsWrite> for Cap<(FsWrite, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(FsWrite, FsRead)>
impl CapProvider<FsWrite> for Cap<(FsWrite, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(FsWrite, FsWrite)>
impl CapProvider<FsWrite> for Cap<(FsWrite, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(FsWrite, NetAll)>
impl CapProvider<FsWrite> for Cap<(FsWrite, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(FsWrite, NetBind)>
impl CapProvider<FsWrite> for Cap<(FsWrite, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(FsWrite, NetConnect)>
impl CapProvider<FsWrite> for Cap<(FsWrite, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(FsWrite, Spawn)>
impl CapProvider<FsWrite> for Cap<(FsWrite, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(NetAll, FsWrite)>
impl CapProvider<FsWrite> for Cap<(NetAll, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(NetBind, FsWrite)>
impl CapProvider<FsWrite> for Cap<(NetBind, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(NetConnect, FsWrite)>
impl CapProvider<FsWrite> for Cap<(NetConnect, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<(Spawn, FsWrite)>
impl CapProvider<FsWrite> for Cap<(Spawn, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<Ambient>
impl CapProvider<FsWrite> for Cap<Ambient>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<FsWrite> for Cap<FsAll>
impl CapProvider<FsWrite> for Cap<FsAll>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<FsWrite>, 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<NetAll> for Cap<(Ambient, NetAll)>
impl CapProvider<NetAll> for Cap<(Ambient, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(EnvRead, NetAll)>
impl CapProvider<NetAll> for Cap<(EnvRead, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(EnvWrite, NetAll)>
impl CapProvider<NetAll> for Cap<(EnvWrite, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(FsAll, NetAll)>
impl CapProvider<NetAll> for Cap<(FsAll, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(FsRead, NetAll)>
impl CapProvider<NetAll> for Cap<(FsRead, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(FsWrite, NetAll)>
impl CapProvider<NetAll> for Cap<(FsWrite, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(NetAll, Ambient)>
impl CapProvider<NetAll> for Cap<(NetAll, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(NetAll, EnvRead)>
impl CapProvider<NetAll> for Cap<(NetAll, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(NetAll, EnvWrite)>
impl CapProvider<NetAll> for Cap<(NetAll, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(NetAll, FsAll)>
impl CapProvider<NetAll> for Cap<(NetAll, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(NetAll, FsRead)>
impl CapProvider<NetAll> for Cap<(NetAll, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(NetAll, FsWrite)>
impl CapProvider<NetAll> for Cap<(NetAll, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(NetAll, NetAll)>
impl CapProvider<NetAll> for Cap<(NetAll, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(NetAll, NetBind)>
impl CapProvider<NetAll> for Cap<(NetAll, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(NetAll, NetConnect)>
impl CapProvider<NetAll> for Cap<(NetAll, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(NetAll, Spawn)>
impl CapProvider<NetAll> for Cap<(NetAll, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(NetBind, NetAll)>
impl CapProvider<NetAll> for Cap<(NetBind, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(NetConnect, NetAll)>
impl CapProvider<NetAll> for Cap<(NetConnect, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<(Spawn, NetAll)>
impl CapProvider<NetAll> for Cap<(Spawn, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetAll> for Cap<Ambient>
impl CapProvider<NetAll> for Cap<Ambient>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetAll>, 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<NetBind> for Cap<(Ambient, NetBind)>
impl CapProvider<NetBind> for Cap<(Ambient, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(EnvRead, NetBind)>
impl CapProvider<NetBind> for Cap<(EnvRead, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(EnvWrite, NetBind)>
impl CapProvider<NetBind> for Cap<(EnvWrite, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(FsAll, NetBind)>
impl CapProvider<NetBind> for Cap<(FsAll, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(FsRead, NetBind)>
impl CapProvider<NetBind> for Cap<(FsRead, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(FsWrite, NetBind)>
impl CapProvider<NetBind> for Cap<(FsWrite, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(NetAll, NetBind)>
impl CapProvider<NetBind> for Cap<(NetAll, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(NetBind, Ambient)>
impl CapProvider<NetBind> for Cap<(NetBind, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(NetBind, EnvRead)>
impl CapProvider<NetBind> for Cap<(NetBind, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(NetBind, EnvWrite)>
impl CapProvider<NetBind> for Cap<(NetBind, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(NetBind, FsAll)>
impl CapProvider<NetBind> for Cap<(NetBind, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(NetBind, FsRead)>
impl CapProvider<NetBind> for Cap<(NetBind, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(NetBind, FsWrite)>
impl CapProvider<NetBind> for Cap<(NetBind, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(NetBind, NetAll)>
impl CapProvider<NetBind> for Cap<(NetBind, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(NetBind, NetBind)>
impl CapProvider<NetBind> for Cap<(NetBind, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(NetBind, NetConnect)>
impl CapProvider<NetBind> for Cap<(NetBind, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(NetBind, Spawn)>
impl CapProvider<NetBind> for Cap<(NetBind, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(NetConnect, NetBind)>
impl CapProvider<NetBind> for Cap<(NetConnect, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<(Spawn, NetBind)>
impl CapProvider<NetBind> for Cap<(Spawn, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<Ambient>
impl CapProvider<NetBind> for Cap<Ambient>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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<NetBind> for Cap<NetAll>
impl CapProvider<NetBind> for Cap<NetAll>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<NetBind>, 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, 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<P: Permission> CapProvider<P> for Cap<P>
impl<P: Permission> CapProvider<P> for Cap<P>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<P>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<P>, 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<Spawn> for Cap<(Ambient, Spawn)>
impl CapProvider<Spawn> for Cap<(Ambient, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(EnvRead, Spawn)>
impl CapProvider<Spawn> for Cap<(EnvRead, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(EnvWrite, Spawn)>
impl CapProvider<Spawn> for Cap<(EnvWrite, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(FsAll, Spawn)>
impl CapProvider<Spawn> for Cap<(FsAll, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(FsRead, Spawn)>
impl CapProvider<Spawn> for Cap<(FsRead, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(FsWrite, Spawn)>
impl CapProvider<Spawn> for Cap<(FsWrite, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(NetAll, Spawn)>
impl CapProvider<Spawn> for Cap<(NetAll, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(NetBind, Spawn)>
impl CapProvider<Spawn> for Cap<(NetBind, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(NetConnect, Spawn)>
impl CapProvider<Spawn> for Cap<(NetConnect, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(Spawn, Ambient)>
impl CapProvider<Spawn> for Cap<(Spawn, Ambient)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(Spawn, EnvRead)>
impl CapProvider<Spawn> for Cap<(Spawn, EnvRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(Spawn, EnvWrite)>
impl CapProvider<Spawn> for Cap<(Spawn, EnvWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(Spawn, FsAll)>
impl CapProvider<Spawn> for Cap<(Spawn, FsAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(Spawn, FsRead)>
impl CapProvider<Spawn> for Cap<(Spawn, FsRead)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(Spawn, FsWrite)>
impl CapProvider<Spawn> for Cap<(Spawn, FsWrite)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(Spawn, NetAll)>
impl CapProvider<Spawn> for Cap<(Spawn, NetAll)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(Spawn, NetBind)>
impl CapProvider<Spawn> for Cap<(Spawn, NetBind)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(Spawn, NetConnect)>
impl CapProvider<Spawn> for Cap<(Spawn, NetConnect)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<(Spawn, Spawn)>
impl CapProvider<Spawn> for Cap<(Spawn, Spawn)>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, 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<Spawn> for Cap<Ambient>
impl CapProvider<Spawn> for Cap<Ambient>
Source§fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
fn provide_cap(&self, _target: &str) -> Result<Cap<Spawn>, CapSecError>
Provides a
Cap<P> for the given target, or returns an error if the
target is outside the capability’s scope.Source§impl<P: Permission> Clone for Cap<P>
impl<P: Permission> Clone for Cap<P>
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.Source§impl<P: Permission> Has<P> for Cap<P>
impl<P: Permission> Has<P> for Cap<P>
Auto Trait Implementations§
impl<P> Freeze for Cap<P>
impl<P> RefUnwindSafe for Cap<P>where
P: RefUnwindSafe,
impl<P> !Send for Cap<P>
impl<P> !Sync for Cap<P>
impl<P> Unpin for Cap<P>where
P: Unpin,
impl<P> UnsafeUnpin for Cap<P>
impl<P> UnwindSafe for Cap<P>where
P: UnwindSafe,
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