pub struct FrozenSession { /* private fields */ }Implementations§
Source§impl FrozenSession
impl FrozenSession
pub fn id(&self) -> &str
pub fn snapshot(&self) -> &Rc<ResolvedSnapshot>
pub fn mode(&self) -> SessionMode
pub fn grants(&self) -> &BTreeSet<String>
pub fn secrets(&self) -> &ResolvedSecrets
pub fn entrypoint(&self, name: &str) -> Option<&str>
pub fn require_mutable_overlay(&self) -> Result<(), String>
Trait Implementations§
Source§impl Clone for FrozenSession
impl Clone for FrozenSession
Source§fn clone(&self) -> FrozenSession
fn clone(&self) -> FrozenSession
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for FrozenSession
impl !Send for FrozenSession
impl !Sync for FrozenSession
impl !UnwindSafe for FrozenSession
impl Freeze for FrozenSession
impl Unpin for FrozenSession
impl UnsafeUnpin for FrozenSession
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more