pub struct SendCap<P>where
P: Permission,{ /* private fields */ }Expand description
A thread-safe capability token that can be sent across threads.
Created explicitly via Cap::make_send. Unlike Cap<P>, this implements
Send + Sync, making it usable with std::thread::spawn, tokio::spawn,
Arc, etc.
§Example
ⓘ
let root = test_root();
let send_cap = root.grant::<FsRead>().make_send();
std::thread::spawn(move || {
let _cap = send_cap.as_cap();
// use cap in this thread
}).join().unwrap();Implementations§
Trait Implementations§
Source§impl CapProvider<Ambient> for SendCap<(Ambient, Ambient)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(Ambient, EnvRead)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(Ambient, EnvWrite)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(Ambient, FsAll)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(Ambient, FsRead)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(Ambient, FsWrite)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(Ambient, NetAll)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(Ambient, NetBind)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(Ambient, NetConnect)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(Ambient, Spawn)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(EnvRead, Ambient)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(EnvWrite, Ambient)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(FsAll, Ambient)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(FsRead, Ambient)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(FsWrite, Ambient)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(NetAll, Ambient)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(NetBind, Ambient)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(NetConnect, Ambient)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(Spawn, Ambient)>
impl CapProvider<Ambient> for SendCap<(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 SendCap<(Ambient, EnvRead)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(EnvRead, Ambient)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(EnvRead, EnvRead)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(EnvRead, EnvWrite)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(EnvRead, FsAll)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(EnvRead, FsRead)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(EnvRead, FsWrite)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(EnvRead, NetAll)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(EnvRead, NetBind)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(EnvRead, NetConnect)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(EnvRead, Spawn)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(EnvWrite, EnvRead)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(FsAll, EnvRead)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(FsRead, EnvRead)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(FsWrite, EnvRead)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(NetAll, EnvRead)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(NetBind, EnvRead)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(NetConnect, EnvRead)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<(Spawn, EnvRead)>
impl CapProvider<EnvRead> for SendCap<(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 SendCap<Ambient>
impl CapProvider<EnvRead> for SendCap<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 SendCap<(Ambient, EnvWrite)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(EnvRead, EnvWrite)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(EnvWrite, Ambient)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(EnvWrite, EnvRead)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(EnvWrite, EnvWrite)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(EnvWrite, FsAll)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(EnvWrite, FsRead)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(EnvWrite, FsWrite)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(EnvWrite, NetAll)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(EnvWrite, NetBind)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(EnvWrite, NetConnect)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(EnvWrite, Spawn)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(FsAll, EnvWrite)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(FsRead, EnvWrite)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(FsWrite, EnvWrite)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(NetAll, EnvWrite)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(NetBind, EnvWrite)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(NetConnect, EnvWrite)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<(Spawn, EnvWrite)>
impl CapProvider<EnvWrite> for SendCap<(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 SendCap<Ambient>
impl CapProvider<EnvWrite> for SendCap<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 SendCap<(Ambient, FsAll)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(EnvRead, FsAll)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(EnvWrite, FsAll)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(FsAll, Ambient)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(FsAll, EnvRead)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(FsAll, EnvWrite)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(FsAll, FsAll)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(FsAll, FsRead)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(FsAll, FsWrite)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(FsAll, NetAll)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(FsAll, NetBind)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(FsAll, NetConnect)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(FsAll, Spawn)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(FsRead, FsAll)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(FsWrite, FsAll)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(NetAll, FsAll)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(NetBind, FsAll)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(NetConnect, FsAll)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<(Spawn, FsAll)>
impl CapProvider<FsAll> for SendCap<(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 SendCap<Ambient>
impl CapProvider<FsAll> for SendCap<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 SendCap<(Ambient, FsRead)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(EnvRead, FsRead)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(EnvWrite, FsRead)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(FsAll, FsRead)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(FsRead, Ambient)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(FsRead, EnvRead)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(FsRead, EnvWrite)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(FsRead, FsAll)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(FsRead, FsRead)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(FsRead, FsWrite)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(FsRead, NetAll)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(FsRead, NetBind)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(FsRead, NetConnect)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(FsRead, Spawn)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(FsWrite, FsRead)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(NetAll, FsRead)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(NetBind, FsRead)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(NetConnect, FsRead)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<(Spawn, FsRead)>
impl CapProvider<FsRead> for SendCap<(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 SendCap<Ambient>
impl CapProvider<FsRead> for SendCap<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 SendCap<FsAll>
impl CapProvider<FsRead> for SendCap<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 SendCap<(Ambient, FsWrite)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(EnvRead, FsWrite)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(EnvWrite, FsWrite)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(FsAll, FsWrite)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(FsRead, FsWrite)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(FsWrite, Ambient)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(FsWrite, EnvRead)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(FsWrite, EnvWrite)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(FsWrite, FsAll)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(FsWrite, FsRead)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(FsWrite, FsWrite)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(FsWrite, NetAll)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(FsWrite, NetBind)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(FsWrite, NetConnect)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(FsWrite, Spawn)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(NetAll, FsWrite)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(NetBind, FsWrite)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(NetConnect, FsWrite)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<(Spawn, FsWrite)>
impl CapProvider<FsWrite> for SendCap<(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 SendCap<Ambient>
impl CapProvider<FsWrite> for SendCap<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 SendCap<FsAll>
impl CapProvider<FsWrite> for SendCap<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 SendCap<(Ambient, NetAll)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(EnvRead, NetAll)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(EnvWrite, NetAll)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(FsAll, NetAll)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(FsRead, NetAll)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(FsWrite, NetAll)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(NetAll, Ambient)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(NetAll, EnvRead)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(NetAll, EnvWrite)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(NetAll, FsAll)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(NetAll, FsRead)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(NetAll, FsWrite)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(NetAll, NetAll)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(NetAll, NetBind)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(NetAll, NetConnect)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(NetAll, Spawn)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(NetBind, NetAll)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(NetConnect, NetAll)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<(Spawn, NetAll)>
impl CapProvider<NetAll> for SendCap<(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 SendCap<Ambient>
impl CapProvider<NetAll> for SendCap<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 SendCap<(Ambient, NetBind)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(EnvRead, NetBind)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(EnvWrite, NetBind)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(FsAll, NetBind)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(FsRead, NetBind)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(FsWrite, NetBind)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(NetAll, NetBind)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(NetBind, Ambient)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(NetBind, EnvRead)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(NetBind, EnvWrite)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(NetBind, FsAll)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(NetBind, FsRead)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(NetBind, FsWrite)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(NetBind, NetAll)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(NetBind, NetBind)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(NetBind, NetConnect)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(NetBind, Spawn)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(NetConnect, NetBind)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<(Spawn, NetBind)>
impl CapProvider<NetBind> for SendCap<(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 SendCap<Ambient>
impl CapProvider<NetBind> for SendCap<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 SendCap<NetAll>
impl CapProvider<NetBind> for SendCap<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 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<P> CapProvider<P> for SendCap<P>where
P: Permission,
impl<P> CapProvider<P> for SendCap<P>where
P: Permission,
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 SendCap<(Ambient, Spawn)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(EnvRead, Spawn)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(EnvWrite, Spawn)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(FsAll, Spawn)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(FsRead, Spawn)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(FsWrite, Spawn)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(NetAll, Spawn)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(NetBind, Spawn)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(NetConnect, Spawn)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(Spawn, Ambient)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(Spawn, EnvRead)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(Spawn, EnvWrite)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(Spawn, FsAll)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(Spawn, FsRead)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(Spawn, FsWrite)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(Spawn, NetAll)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(Spawn, NetBind)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(Spawn, NetConnect)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<(Spawn, Spawn)>
impl CapProvider<Spawn> for SendCap<(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 SendCap<Ambient>
impl CapProvider<Spawn> for SendCap<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> Clone for SendCap<P>where
P: Permission,
impl<P> Clone for SendCap<P>where
P: Permission,
Source§impl<P> Has<P> for SendCap<P>where
P: Permission,
impl<P> Has<P> for SendCap<P>where
P: Permission,
impl<P> Send for SendCap<P>where
P: Permission,
impl<P> Sync for SendCap<P>where
P: Permission,
Auto Trait Implementations§
impl<P> Freeze for SendCap<P>
impl<P> RefUnwindSafe for SendCap<P>where
P: RefUnwindSafe,
impl<P> Unpin for SendCap<P>where
P: Unpin,
impl<P> UnsafeUnpin for SendCap<P>
impl<P> UnwindSafe for SendCap<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