pub enum AutonomicProfile {
Desktop,
Server,
Terminal,
}Expand description
Autonomic profile for session behavior.
Variants§
Desktop
Desktop: 30s autosave, moderate maintenance
Server
Server: 15s autosave, aggressive maintenance
Terminal
Terminal: 60s autosave, minimal maintenance
Implementations§
Source§impl AutonomicProfile
impl AutonomicProfile
pub fn autosave_interval(&self) -> Duration
pub fn maintenance_interval(&self) -> Duration
Trait Implementations§
Source§impl Clone for AutonomicProfile
impl Clone for AutonomicProfile
Source§fn clone(&self) -> AutonomicProfile
fn clone(&self) -> AutonomicProfile
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 moreAuto Trait Implementations§
impl Freeze for AutonomicProfile
impl RefUnwindSafe for AutonomicProfile
impl Send for AutonomicProfile
impl Sync for AutonomicProfile
impl Unpin for AutonomicProfile
impl UnsafeUnpin for AutonomicProfile
impl UnwindSafe for AutonomicProfile
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