pub struct EnvRead;Expand description
Permission to read environment variables.
Trait Implementations§
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<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.impl Permission for EnvRead
Auto Trait Implementations§
impl Freeze for EnvRead
impl RefUnwindSafe for EnvRead
impl Send for EnvRead
impl Sync for EnvRead
impl Unpin for EnvRead
impl UnsafeUnpin for EnvRead
impl UnwindSafe for EnvRead
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