pub struct SgxEPCDeviceInfo {
pub id: Option<String>,
pub memaddr: u64,
pub memdev: String,
pub node: i64,
pub size: u64,
}
Fields§
§id: Option<String>
§memaddr: u64
§memdev: String
§node: i64
§size: u64
Trait Implementations§
Source§impl AsRef<SgxEPCDeviceInfo> for SgxEPCDeviceInfoWrapper
impl AsRef<SgxEPCDeviceInfo> for SgxEPCDeviceInfoWrapper
Source§fn as_ref(&self) -> &SgxEPCDeviceInfo
fn as_ref(&self) -> &SgxEPCDeviceInfo
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SgxEPCDeviceInfo
impl Clone for SgxEPCDeviceInfo
Source§fn clone(&self) -> SgxEPCDeviceInfo
fn clone(&self) -> SgxEPCDeviceInfo
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 SgxEPCDeviceInfo
impl Debug for SgxEPCDeviceInfo
Source§impl<'de> Deserialize<'de> for SgxEPCDeviceInfo
impl<'de> Deserialize<'de> for SgxEPCDeviceInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SgxEPCDeviceInfo> for MemoryDeviceInfo
impl From<SgxEPCDeviceInfo> for MemoryDeviceInfo
Source§fn from(val: SgxEPCDeviceInfo) -> Self
fn from(val: SgxEPCDeviceInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SgxEPCDeviceInfo
impl RefUnwindSafe for SgxEPCDeviceInfo
impl Send for SgxEPCDeviceInfo
impl Sync for SgxEPCDeviceInfo
impl Unpin for SgxEPCDeviceInfo
impl UnwindSafe for SgxEPCDeviceInfo
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