#[non_exhaustive]pub enum LeanWorkerSessionImportProfile {
ExportedPublic,
Server,
Private,
FullPrivateCompat,
}Expand description
Closed full-session import profiles understood by worker children.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ExportedPublic
Public exported declarations only.
Server
Server-level import data without import all.
Private
Private-level import data without import all. This is the default
profile because current non-module fixture imports cannot be imported
at exported/server level.
FullPrivateCompat
Legacy compatibility import shape.
Implementations§
Trait Implementations§
Source§impl Clone for LeanWorkerSessionImportProfile
impl Clone for LeanWorkerSessionImportProfile
Source§fn clone(&self) -> LeanWorkerSessionImportProfile
fn clone(&self) -> LeanWorkerSessionImportProfile
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 moreimpl Copy for LeanWorkerSessionImportProfile
Source§impl Default for LeanWorkerSessionImportProfile
impl Default for LeanWorkerSessionImportProfile
Source§fn default() -> LeanWorkerSessionImportProfile
fn default() -> LeanWorkerSessionImportProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LeanWorkerSessionImportProfile
impl<'de> Deserialize<'de> for LeanWorkerSessionImportProfile
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerSessionImportProfile, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerSessionImportProfile, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LeanWorkerSessionImportProfile
Source§impl Ord for LeanWorkerSessionImportProfile
impl Ord for LeanWorkerSessionImportProfile
Source§fn cmp(&self, other: &LeanWorkerSessionImportProfile) -> Ordering
fn cmp(&self, other: &LeanWorkerSessionImportProfile) -> 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 LeanWorkerSessionImportProfile
impl PartialEq for LeanWorkerSessionImportProfile
Source§fn eq(&self, other: &LeanWorkerSessionImportProfile) -> bool
fn eq(&self, other: &LeanWorkerSessionImportProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LeanWorkerSessionImportProfile
impl PartialOrd for LeanWorkerSessionImportProfile
Source§impl Serialize for LeanWorkerSessionImportProfile
impl Serialize for LeanWorkerSessionImportProfile
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LeanWorkerSessionImportProfile
Auto Trait Implementations§
impl Freeze for LeanWorkerSessionImportProfile
impl RefUnwindSafe for LeanWorkerSessionImportProfile
impl Send for LeanWorkerSessionImportProfile
impl Sync for LeanWorkerSessionImportProfile
impl Unpin for LeanWorkerSessionImportProfile
impl UnsafeUnpin for LeanWorkerSessionImportProfile
impl UnwindSafe for LeanWorkerSessionImportProfile
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