pub struct AgentSleepSupport {
pub suspend_notifications: bool,
pub sleep_inhibition: bool,
}Expand description
Platform sleep/suspend capabilities used by the lockbox session agent.
Fields§
§suspend_notifications: boolTrue when the agent can receive suspend/resume notifications.
sleep_inhibition: boolTrue when active secret operations can request temporary sleep inhibition.
Implementations§
Trait Implementations§
Source§impl Clone for AgentSleepSupport
impl Clone for AgentSleepSupport
Source§fn clone(&self) -> AgentSleepSupport
fn clone(&self) -> AgentSleepSupport
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 AgentSleepSupport
Source§impl Debug for AgentSleepSupport
impl Debug for AgentSleepSupport
impl Eq for AgentSleepSupport
Source§impl PartialEq for AgentSleepSupport
impl PartialEq for AgentSleepSupport
impl StructuralPartialEq for AgentSleepSupport
Auto Trait Implementations§
impl Freeze for AgentSleepSupport
impl RefUnwindSafe for AgentSleepSupport
impl Send for AgentSleepSupport
impl Sync for AgentSleepSupport
impl Unpin for AgentSleepSupport
impl UnsafeUnpin for AgentSleepSupport
impl UnwindSafe for AgentSleepSupport
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