pub struct TargetInfo {
pub endpoint_id: u16,
pub vcpu_id: u16,
}Expand description
Endpoint ID and vCPU ID pair, used by FFA_ERROR, FFA_INTERRUPT and FFA_RUN interfaces.
Fields§
§endpoint_id: u16§vcpu_id: u16Trait Implementations§
Source§impl Clone for TargetInfo
impl Clone for TargetInfo
Source§fn clone(&self) -> TargetInfo
fn clone(&self) -> TargetInfo
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 TargetInfo
impl Debug for TargetInfo
Source§impl Default for TargetInfo
impl Default for TargetInfo
Source§fn default() -> TargetInfo
fn default() -> TargetInfo
Returns the “default value” for a type. Read more
Source§impl From<TargetInfo> for u32
impl From<TargetInfo> for u32
Source§fn from(value: TargetInfo) -> Self
fn from(value: TargetInfo) -> Self
Converts to this type from the input type.
Source§impl From<u32> for TargetInfo
impl From<u32> for TargetInfo
Source§impl PartialEq for TargetInfo
impl PartialEq for TargetInfo
impl Copy for TargetInfo
impl Eq for TargetInfo
impl StructuralPartialEq for TargetInfo
Auto Trait Implementations§
impl Freeze for TargetInfo
impl RefUnwindSafe for TargetInfo
impl Send for TargetInfo
impl Sync for TargetInfo
impl Unpin for TargetInfo
impl UnwindSafe for TargetInfo
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