pub enum EnclaveProcessCommandType {
Run = 0,
Terminate = 1,
TerminateComplete = 2,
Describe = 3,
GetEnclaveCID = 4,
GetEnclaveFlags = 5,
GetEnclaveName = 6,
GetIDbyName = 7,
ConnectionListenerStop = 8,
NotPermitted = 9,
}Expand description
The type of commands that can be sent to an enclave process.
Variants§
Run = 0
Launch (run) an enclave (sent by the CLI).
Terminate = 1
Terminate an enclave (sent by the CLI).
TerminateComplete = 2
Notify that the enclave has terminated (sent by the enclave process to itself).
Describe = 3
Describe an enclave (broadcast by the CLI).
GetEnclaveCID = 4
Request an enclave’s CID (sent by the CLI).
GetEnclaveFlags = 5
Request an enclave’s flags (sent by the CLI).
GetEnclaveName = 6
Request an enclave’s name (sent by the CLI).
GetIDbyName = 7
Request the ID of an enclave only if the name matches (sent by the CLI).
ConnectionListenerStop = 8
Notify the socket connection listener to shut down (sent by the enclave process to itself).
NotPermitted = 9
Do not execute a command due to insufficient privileges (sent by the CLI, modified by the enclave process).
Trait Implementations§
Source§impl Clone for EnclaveProcessCommandType
impl Clone for EnclaveProcessCommandType
impl Copy for EnclaveProcessCommandType
Source§impl Debug for EnclaveProcessCommandType
impl Debug for EnclaveProcessCommandType
Source§impl<'de> Deserialize<'de> for EnclaveProcessCommandType
impl<'de> Deserialize<'de> for EnclaveProcessCommandType
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
impl Eq for EnclaveProcessCommandType
impl StructuralPartialEq for EnclaveProcessCommandType
Auto Trait Implementations§
impl Freeze for EnclaveProcessCommandType
impl RefUnwindSafe for EnclaveProcessCommandType
impl Send for EnclaveProcessCommandType
impl Sync for EnclaveProcessCommandType
impl Unpin for EnclaveProcessCommandType
impl UnsafeUnpin for EnclaveProcessCommandType
impl UnwindSafe for EnclaveProcessCommandType
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.