pub struct ExecutionClassId(/* private fields */);Expand description
Stable, open identity of the execution mechanism selected for a Module Instance.
Execution Adapter packages own these IDs. The Plan preserves them as opaque authoring data so third-party Adapters do not require changes to this crate.
Implementations§
Source§impl ExecutionClassId
impl ExecutionClassId
Sourcepub fn new(value: impl Into<String>) -> Self
pub fn new(value: impl Into<String>) -> Self
Creates an execution-class identity selected by App Composition.
Sourcepub fn native_rust() -> Self
pub fn native_rust() -> Self
Returns the official statically linked Rust execution class.
Sourcepub fn bun_child_process() -> Self
pub fn bun_child_process() -> Self
Returns the official trusted Bun child-process execution class.
Trait Implementations§
Source§impl Clone for ExecutionClassId
impl Clone for ExecutionClassId
Source§fn clone(&self) -> ExecutionClassId
fn clone(&self) -> ExecutionClassId
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 moreSource§impl Debug for ExecutionClassId
impl Debug for ExecutionClassId
Source§impl<'de> Deserialize<'de> for ExecutionClassId
impl<'de> Deserialize<'de> for ExecutionClassId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ExecutionClassId
impl Display for ExecutionClassId
impl Eq for ExecutionClassId
Source§impl Ord for ExecutionClassId
impl Ord for ExecutionClassId
Source§fn cmp(&self, other: &ExecutionClassId) -> Ordering
fn cmp(&self, other: &ExecutionClassId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExecutionClassId
impl PartialEq for ExecutionClassId
Source§impl PartialOrd for ExecutionClassId
impl PartialOrd for ExecutionClassId
Source§impl Serialize for ExecutionClassId
impl Serialize for ExecutionClassId
impl StructuralPartialEq for ExecutionClassId
Auto Trait Implementations§
impl Freeze for ExecutionClassId
impl RefUnwindSafe for ExecutionClassId
impl Send for ExecutionClassId
impl Sync for ExecutionClassId
impl Unpin for ExecutionClassId
impl UnsafeUnpin for ExecutionClassId
impl UnwindSafe for ExecutionClassId
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