Skip to navigation

Enum Service Ownership

View as Markdown

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

pub enum ServiceOwnership {
FabricOwned,
CallerOwned,
}

Ownership of a service exposed through NeMo Fabric.

Variants

FabricOwned

FabricOwned

NeMo Fabric created and owns the service lifecycle.

CallerOwned

CallerOwned

The caller owns the service and NeMo Fabric only owns its attachment.

Trait Implementations

impl Clone for ServiceOwnership

impl Clone for ServiceOwnership

clone

fn clone(&self) -> ServiceOwnership

clone_from

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

impl Copy for ServiceOwnership

impl Copy for ServiceOwnership

impl Debug for ServiceOwnership

impl Debug for ServiceOwnership

fmt

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

impl<'de> Deserialize<'de> for ServiceOwnership

impl<'de> Deserialize<'de> for ServiceOwnership

deserialize

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

impl Eq for ServiceOwnership

impl Eq for ServiceOwnership

impl JsonSchema for ServiceOwnership

impl JsonSchema for ServiceOwnership

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 ServiceOwnership

impl PartialEq for ServiceOwnership

eq

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

ne

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

impl Serialize for ServiceOwnership

impl Serialize for ServiceOwnership

serialize

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

impl StructuralPartialEq for ServiceOwnership

impl StructuralPartialEq for ServiceOwnership