pub struct SgxEpcConfig {
pub id: String,
pub size: i64,
pub prefault: Option<bool>,
}Fields§
§id: String§size: i64§prefault: Option<bool>Implementations§
Source§impl SgxEpcConfig
impl SgxEpcConfig
pub fn new(id: String, size: i64) -> SgxEpcConfig
Trait Implementations§
Source§impl Clone for SgxEpcConfig
impl Clone for SgxEpcConfig
Source§fn clone(&self) -> SgxEpcConfig
fn clone(&self) -> SgxEpcConfig
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 SgxEpcConfig
impl Debug for SgxEpcConfig
Source§impl Default for SgxEpcConfig
impl Default for SgxEpcConfig
Source§fn default() -> SgxEpcConfig
fn default() -> SgxEpcConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SgxEpcConfig
impl<'de> Deserialize<'de> for SgxEpcConfig
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 PartialEq for SgxEpcConfig
impl PartialEq for SgxEpcConfig
Source§impl Serialize for SgxEpcConfig
impl Serialize for SgxEpcConfig
impl StructuralPartialEq for SgxEpcConfig
Auto Trait Implementations§
impl Freeze for SgxEpcConfig
impl RefUnwindSafe for SgxEpcConfig
impl Send for SgxEpcConfig
impl Sync for SgxEpcConfig
impl Unpin for SgxEpcConfig
impl UnwindSafe for SgxEpcConfig
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