pub struct NodeEnvironmentProfile { /* private fields */ }Expand description
Immutable host-local binding from one public profile revision to native child-environment resolvers. Resolver values remain inside the native profiles and are never serialized or formatted for diagnostics.
Implementations§
Source§impl NodeEnvironmentProfile
impl NodeEnvironmentProfile
pub fn new( id: SpawnEnvironmentProfileId, revision: SpawnEnvironmentProfileRevision, provider: AgentId, profiles: impl IntoIterator<Item = NativeLaunchProfile>, ) -> Result<Self, NodeEnvironmentProfileError>
pub fn new_with_materialization( id: SpawnEnvironmentProfileId, revision: SpawnEnvironmentProfileRevision, provider: AgentId, profiles: impl IntoIterator<Item = NativeLaunchProfile>, materialization: Option<NodeSessionMaterializationProfile>, ) -> Result<Self, NodeEnvironmentProfileError>
pub fn id(&self) -> &SpawnEnvironmentProfileId
pub fn revision(&self) -> &SpawnEnvironmentProfileRevision
pub fn provider(&self) -> &AgentId
Auto Trait Implementations§
impl !RefUnwindSafe for NodeEnvironmentProfile
impl !UnwindSafe for NodeEnvironmentProfile
impl Freeze for NodeEnvironmentProfile
impl Send for NodeEnvironmentProfile
impl Sync for NodeEnvironmentProfile
impl Unpin for NodeEnvironmentProfile
impl UnsafeUnpin for NodeEnvironmentProfile
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