Enum Sharing Scope

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

1pub enum SharingScope {
2 Request,
3 Session,
4 Tenant,
5 Global,
6}

Sharing scope for cached content - stability does not imply shareability. Default is Session per security requirements.

Variants

Request

Request

Request-scoped; content is not shared beyond the current request.

Session

Session

Session-scoped; content is shared within a single user session.

Tenant

Tenant

Tenant-scoped; content is shared across sessions within a tenant.

Global

Global

Globally shared; content is available across all tenants.

Trait Implementations

impl Clone for SharingScope

impl Clone for SharingScope

clone

fn clone(&self) -> SharingScope

clone_from

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

impl Debug for SharingScope

impl Debug for SharingScope

fmt

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

impl Default for SharingScope

impl Default for SharingScope

default

fn default() -> SharingScope

impl<'de> Deserialize<'de> for SharingScope

impl<'de> Deserialize<'de> for SharingScope

deserialize

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

impl Hash for SharingScope

impl Hash for SharingScope

hash

fn hash<__H: Hasher>(&self, state: &mut __H)

hash_slice

fn hash_slice<H>(data: &[Self], state: &mut H)where
    H: Hasher,
    Self: Sized,

impl PartialEq for SharingScope

impl PartialEq for SharingScope

eq

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

ne

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

impl Serialize for SharingScope

impl Serialize for SharingScope

serialize

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

impl Copy for SharingScope

impl Copy for SharingScope

impl Eq for SharingScope

impl Eq for SharingScope

impl StructuralPartialEq for SharingScope

impl StructuralPartialEq for SharingScope