pub enum SuccessArgs {
Args32([u32; 6]),
Args64([u64; 6]),
Args64_2([u64; 16]),
}Expand description
Generic arguments of the FFA_SUCCESS interface. The interpretation of the arguments depends on
the interface that initiated the request. The application code has knowledge of the request, so
it has to convert SuccessArgs into/from a specific success args structure that matches the
request.
The current specialized success arguments types are:
FFA_FEATURES-SuccessArgsFeaturesFFA_ID_GET-SuccessArgsIdGetFFA_SPM_ID_GET-SuccessArgsSpmIdGetFFA_PARTITION_INFO_GET-partition_info::SuccessArgsPartitionInfoGetFFA_PARTITION_INFO_GET_REGS-partition_info::SuccessArgsPartitionInfoGetRegsFFA_NOTIFICATION_GET-SuccessArgsNotificationGetFFA_NOTIFICATION_INFO_GET_32-SuccessArgsNotificationInfoGet32FFA_NOTIFICATION_INFO_GET_64-SuccessArgsNotificationInfoGet64
Variants§
Trait Implementations§
Source§impl Clone for SuccessArgs
impl Clone for SuccessArgs
Source§fn clone(&self) -> SuccessArgs
fn clone(&self) -> SuccessArgs
Returns a duplicate 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 SuccessArgs
impl Debug for SuccessArgs
Source§impl From<SuccessArgsFeatures> for SuccessArgs
impl From<SuccessArgsFeatures> for SuccessArgs
Source§fn from(value: SuccessArgsFeatures) -> Self
fn from(value: SuccessArgsFeatures) -> Self
Converts to this type from the input type.
Source§impl From<SuccessArgsIdGet> for SuccessArgs
impl From<SuccessArgsIdGet> for SuccessArgs
Source§fn from(value: SuccessArgsIdGet) -> Self
fn from(value: SuccessArgsIdGet) -> Self
Converts to this type from the input type.
Source§impl From<SuccessArgsMemOp> for SuccessArgs
impl From<SuccessArgsMemOp> for SuccessArgs
Source§fn from(value: SuccessArgsMemOp) -> Self
fn from(value: SuccessArgsMemOp) -> Self
Converts to this type from the input type.
Source§impl From<SuccessArgsMemPermGet> for SuccessArgs
impl From<SuccessArgsMemPermGet> for SuccessArgs
Source§fn from(value: SuccessArgsMemPermGet) -> Self
fn from(value: SuccessArgsMemPermGet) -> Self
Converts to this type from the input type.
Source§impl From<SuccessArgsNotificationGet> for SuccessArgs
impl From<SuccessArgsNotificationGet> for SuccessArgs
Source§fn from(value: SuccessArgsNotificationGet) -> Self
fn from(value: SuccessArgsNotificationGet) -> Self
Converts to this type from the input type.
Source§impl From<SuccessArgsNotificationInfoGet<10>> for SuccessArgs
impl From<SuccessArgsNotificationInfoGet<10>> for SuccessArgs
Source§fn from(value: SuccessArgsNotificationInfoGet32) -> Self
fn from(value: SuccessArgsNotificationInfoGet32) -> Self
Converts to this type from the input type.
Source§impl From<SuccessArgsNotificationInfoGet<20>> for SuccessArgs
impl From<SuccessArgsNotificationInfoGet<20>> for SuccessArgs
Source§fn from(value: SuccessArgsNotificationInfoGet64) -> Self
fn from(value: SuccessArgsNotificationInfoGet64) -> Self
Converts to this type from the input type.
Source§impl From<SuccessArgsPartitionInfoGet> for SuccessArgs
impl From<SuccessArgsPartitionInfoGet> for SuccessArgs
Source§fn from(value: SuccessArgsPartitionInfoGet) -> Self
fn from(value: SuccessArgsPartitionInfoGet) -> Self
Converts to this type from the input type.
Source§impl From<SuccessArgsPartitionInfoGetRegs> for SuccessArgs
impl From<SuccessArgsPartitionInfoGetRegs> for SuccessArgs
Source§fn from(value: SuccessArgsPartitionInfoGetRegs) -> Self
fn from(value: SuccessArgsPartitionInfoGetRegs) -> Self
Converts to this type from the input type.
Source§impl From<SuccessArgsSpmIdGet> for SuccessArgs
impl From<SuccessArgsSpmIdGet> for SuccessArgs
Source§fn from(value: SuccessArgsSpmIdGet) -> Self
fn from(value: SuccessArgsSpmIdGet) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SuccessArgs
impl PartialEq for SuccessArgs
Source§impl TryFrom<SuccessArgs> for SuccessArgsFeatures
impl TryFrom<SuccessArgs> for SuccessArgsFeatures
Source§impl TryFrom<SuccessArgs> for SuccessArgsIdGet
impl TryFrom<SuccessArgs> for SuccessArgsIdGet
Source§impl TryFrom<SuccessArgs> for SuccessArgsMemOp
impl TryFrom<SuccessArgs> for SuccessArgsMemOp
Source§impl TryFrom<SuccessArgs> for SuccessArgsMemPermGet
impl TryFrom<SuccessArgs> for SuccessArgsMemPermGet
Source§impl TryFrom<SuccessArgs> for SuccessArgsSpmIdGet
impl TryFrom<SuccessArgs> for SuccessArgsSpmIdGet
impl Copy for SuccessArgs
impl Eq for SuccessArgs
impl StructuralPartialEq for SuccessArgs
Auto Trait Implementations§
impl Freeze for SuccessArgs
impl RefUnwindSafe for SuccessArgs
impl Send for SuccessArgs
impl Sync for SuccessArgs
impl Unpin for SuccessArgs
impl UnwindSafe for SuccessArgs
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