Enum tauri_utils::config::PatternKind
source · pub enum PatternKind {
Brownfield,
Isolation {
dir: PathBuf,
},
}
Expand description
The application pattern.
Variants§
Brownfield
Brownfield pattern.
Isolation
Fields
Isolation pattern. Recommended for security purposes.
Trait Implementations§
source§impl Clone for PatternKind
impl Clone for PatternKind
source§fn clone(&self) -> PatternKind
fn clone(&self) -> PatternKind
Returns a copy of the value. Read more
1.0.0 · 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 PatternKind
impl Debug for PatternKind
source§impl Default for PatternKind
impl Default for PatternKind
source§impl<'de> Deserialize<'de> for PatternKind
impl<'de> Deserialize<'de> for PatternKind
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 From<&PatternKind> for PatternObject
impl From<&PatternKind> for PatternObject
source§fn from(pattern_kind: &PatternKind) -> Self
fn from(pattern_kind: &PatternKind) -> Self
Converts to this type from the input type.
source§impl PartialEq for PatternKind
impl PartialEq for PatternKind
source§fn eq(&self, other: &PatternKind) -> bool
fn eq(&self, other: &PatternKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PatternKind
impl Serialize for PatternKind
impl Eq for PatternKind
impl StructuralEq for PatternKind
impl StructuralPartialEq for PatternKind
Auto Trait Implementations§
impl RefUnwindSafe for PatternKind
impl Send for PatternKind
impl Sync for PatternKind
impl Unpin for PatternKind
impl UnwindSafe for PatternKind
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.