pub struct Embodiment { /* private fields */ }Expand description
A running container/process bound to the ServicePrincipal
identity-kit defined for it.
Embodiment never constructs or mutates the principal it wraps — it
only pairs an already-built identity_kit::ServicePrincipal with the
ContainerRef facts of the container/process embodying it.
Implementations§
Source§impl Embodiment
impl Embodiment
Sourcepub fn principal(&self) -> &ServicePrincipal
pub fn principal(&self) -> &ServicePrincipal
The ServicePrincipal this container/process embodies, verbatim as
identity-kit defined it.
Sourcepub fn container(&self) -> &ContainerRef
pub fn container(&self) -> &ContainerRef
The OS-level facts of the running container/process.
Trait Implementations§
Source§impl Clone for Embodiment
impl Clone for Embodiment
Auto Trait Implementations§
impl Forget for Embodiment
impl Freeze for Embodiment
impl Move for Embodiment
impl RefUnwindSafe for Embodiment
impl Send for Embodiment
impl Sync for Embodiment
impl Unpin for Embodiment
impl UnsafeUnpin for Embodiment
impl UnwindSafe for Embodiment
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