Struct
Lockout
pub struct Lockout {
pub lockout_options: LockoutOptions,
pub reboot: bool,
}Fields
lockout_options: LockoutOptionsreboot: boolTrait Implementations
impl Archive for Lockout
impl Archive for Lockout
const COPY_OPTIMIZATION: CopyOptimization<Self>
const COPY_OPTIMIZATION: CopyOptimization<Self>
An optimization flag that allows the bytes of this type to be copied
directly to a writer instead of calling
serialize. Read moretype Archived = ArchivedLockout
type Archived = ArchivedLockout
The archived representation of this type. Read more
type Resolver = LockoutResolver
type Resolver = LockoutResolver
The resolver for this type. It must contain all the additional
information from serializing needed to make the archived type from
the normal type.
impl BlockingArchive for Lockout
impl BlockingArchive for Lockout
type Response = Result<(), AccessDenied>
type Response = Result<(), AccessDenied>
response type for this message
impl Debug for Lockout
impl Debug for Lockout
impl<__D: Fallible + ?Sized> Deserialize<Lockout, __D> for Archived<Lockout>where
LockoutOptions: Archive,
<LockoutOptions as Archive>::Archived: Deserialize<LockoutOptions, __D>,
bool: Archive,
<bool as Archive>::Archived: Deserialize<bool, __D>,
impl<__D: Fallible + ?Sized> Deserialize<Lockout, __D> for Archived<Lockout>where
LockoutOptions: Archive,
<LockoutOptions as Archive>::Archived: Deserialize<LockoutOptions, __D>,
bool: Archive,
<bool as Archive>::Archived: Deserialize<bool, __D>,
fn deserialize(
&self,
deserializer: &mut __D,
) -> Result<Lockout, <__D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<Lockout, <__D as Fallible>::Error>
Deserializes using the given deserializer
impl MessageId for Lockout
impl MessageId for Lockout
const ID: MessageId = 14usize
const ID: MessageId = 14usize
unique message identifier
const SERVER: &'static str = "os/security"
const SERVER: &'static str = "os/security"
target server name