#[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