pub enum SecurityOperation {
ImportStream = 0,
ImportFS = 1,
Remove = 2,
List = 3,
RetrieveMD5 = 4,
}
Expand description
Type of operation
Variants§
ImportStream = 0
0: import a certificate or a private key (data provided by the stream of byte)
ImportFS = 1
1: import a certificate or a private key (data provided from a file on FS)
Remove = 2
2: remove an imported certificate or private key
List = 3
3: list imported certificates or private keys
RetrieveMD5 = 4
4: retrieve the MD5 of an imported certificate or private key
Trait Implementations§
Source§impl Clone for SecurityOperation
impl Clone for SecurityOperation
Source§fn clone(&self) -> SecurityOperation
fn clone(&self) -> SecurityOperation
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<'de> Deserialize<'de> for SecurityOperation
impl<'de> Deserialize<'de> for SecurityOperation
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 SecurityOperation
impl PartialEq for SecurityOperation
Source§impl Serialize for SecurityOperation
impl Serialize for SecurityOperation
impl StructuralPartialEq for SecurityOperation
Auto Trait Implementations§
impl Freeze for SecurityOperation
impl RefUnwindSafe for SecurityOperation
impl Send for SecurityOperation
impl Sync for SecurityOperation
impl Unpin for SecurityOperation
impl UnwindSafe for SecurityOperation
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