pub enum EncryptMethod {
NoneOther,
Pkcs1,
Des,
Pkcs3,
Pgp4,
Pgp5,
Pem,
}
Variants§
NoneOther
Value “0”
Pkcs1
Value “1”
Des
Value “2”
Pkcs3
Value “3”
Pgp4
Value “4”
Pgp5
Value “5”
Pem
Value “6”
Implementations§
source§impl EncryptMethod
impl EncryptMethod
pub const fn from_bytes(input: &[u8]) -> Option<EncryptMethod>
pub const fn from_fix_str(input: &FixStr) -> Option<EncryptMethod>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
source§impl Clone for EncryptMethod
impl Clone for EncryptMethod
source§fn clone(&self) -> EncryptMethod
fn clone(&self) -> EncryptMethod
Returns a copy of the value. Read more
1.6.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 EncryptMethod
impl Debug for EncryptMethod
source§impl Default for EncryptMethod
impl Default for EncryptMethod
source§fn default() -> EncryptMethod
fn default() -> EncryptMethod
Returns the “default value” for a type. Read more
source§impl From<EncryptMethod> for &'static [u8]
impl From<EncryptMethod> for &'static [u8]
source§impl PartialEq for EncryptMethod
impl PartialEq for EncryptMethod
source§impl ToFixString for EncryptMethod
impl ToFixString for EncryptMethod
fn to_fix_string(&self) -> FixString
source§impl TryFrom<i64> for EncryptMethod
impl TryFrom<i64> for EncryptMethod
source§type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
source§fn try_from(input: Int) -> Result<EncryptMethod, SessionRejectReason>
fn try_from(input: Int) -> Result<EncryptMethod, SessionRejectReason>
Performs the conversion.
impl Copy for EncryptMethod
impl Eq for EncryptMethod
impl StructuralPartialEq for EncryptMethod
Auto Trait Implementations§
impl Freeze for EncryptMethod
impl RefUnwindSafe for EncryptMethod
impl Send for EncryptMethod
impl Sync for EncryptMethod
impl Unpin for EncryptMethod
impl UnwindSafe for EncryptMethod
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)