Enum ashpd::desktop::PersistMode
source · #[repr(u32)]pub enum PersistMode {
DoNot = 0,
Application = 1,
ExplicitlyRevoked = 2,
}
Expand description
Persistence mode for a screencast or remote desktop session.
Variants§
DoNot = 0
Do not persist.
Application = 1
Persist while the application is running.
ExplicitlyRevoked = 2
Persist until explicitly revoked.
Trait Implementations§
source§impl Clone for PersistMode
impl Clone for PersistMode
source§fn clone(&self) -> PersistMode
fn clone(&self) -> PersistMode
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 PersistMode
impl Debug for PersistMode
source§impl Default for PersistMode
impl Default for PersistMode
source§fn default() -> PersistMode
fn default() -> PersistMode
Returns the “default value” for a type. Read more
source§impl PartialEq for PersistMode
impl PartialEq for PersistMode
source§impl Serialize for PersistMode
impl Serialize for PersistMode
source§impl Type for PersistMode
impl Type for PersistMode
impl Copy for PersistMode
impl Eq for PersistMode
impl StructuralPartialEq for PersistMode
Auto Trait Implementations§
impl Freeze for PersistMode
impl RefUnwindSafe for PersistMode
impl Send for PersistMode
impl Sync for PersistMode
impl Unpin for PersistMode
impl UnwindSafe for PersistMode
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.