pub struct SysSuspendCallbackRequest<T0, T1> {
pub enable_wake: T0,
pub suspend_reason: T1,
}Expand description
The generic type corresponding to SysSuspendCallbackRequest.
Fields§
§enable_wake: T0§suspend_reason: T1Trait Implementations§
Source§impl<___E, T0, T1> Encode<SysSuspendCallbackRequest, ___E> for SysSuspendCallbackRequest<T0, T1>
impl<___E, T0, T1> Encode<SysSuspendCallbackRequest, ___E> for SysSuspendCallbackRequest<T0, T1>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<SysSuspendCallbackRequest>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<SysSuspendCallbackRequest>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Auto Trait Implementations§
impl<T0, T1> Freeze for SysSuspendCallbackRequest<T0, T1>
impl<T0, T1> RefUnwindSafe for SysSuspendCallbackRequest<T0, T1>where
T0: RefUnwindSafe,
T1: RefUnwindSafe,
impl<T0, T1> Send for SysSuspendCallbackRequest<T0, T1>
impl<T0, T1> Sync for SysSuspendCallbackRequest<T0, T1>
impl<T0, T1> Unpin for SysSuspendCallbackRequest<T0, T1>
impl<T0, T1> UnsafeUnpin for SysSuspendCallbackRequest<T0, T1>where
T0: UnsafeUnpin,
T1: UnsafeUnpin,
impl<T0, T1> UnwindSafe for SysSuspendCallbackRequest<T0, T1>where
T0: UnwindSafe,
T1: UnwindSafe,
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
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]