Enum Environment Ownership

View as Markdown

Generated from cargo doc --no-deps -p nemo-fabric-core.

1pub enum EnvironmentOwnership {
2 CallerOwned,
3 FabricOwned,
4}

Whether NeMo Fabric owns the underlying environment resource.

Variants

CallerOwned

CallerOwned

The caller or a surrounding system owns the environment resource.

FabricOwned

FabricOwned

NeMo Fabric created or leased the environment resource and may release it.

Trait Implementations

impl Clone for EnvironmentOwnership

impl Clone for EnvironmentOwnership

clone

fn clone(&self) -> EnvironmentOwnership

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for EnvironmentOwnership

impl Debug for EnvironmentOwnership

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'de> Deserialize<'de> for EnvironmentOwnership

impl<'de> Deserialize<'de> for EnvironmentOwnership

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl JsonSchema for EnvironmentOwnership

impl JsonSchema for EnvironmentOwnership

schema_name

fn schema_name() -> Cow<'static, str>

schema_id

fn schema_id() -> Cow<'static, str>

json_schema

fn json_schema(generator: &mut SchemaGenerator) -> Schema

inline_schema

fn inline_schema() -> bool

impl PartialEq for EnvironmentOwnership

impl PartialEq for EnvironmentOwnership

eq

fn eq(&self, other: &EnvironmentOwnership) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for EnvironmentOwnership

impl Serialize for EnvironmentOwnership

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl Copy for EnvironmentOwnership

impl Copy for EnvironmentOwnership

impl Eq for EnvironmentOwnership

impl Eq for EnvironmentOwnership

impl StructuralPartialEq for EnvironmentOwnership

impl StructuralPartialEq for EnvironmentOwnership