Enum easyfix_messages::fields::EncryptMethod
source · pub enum EncryptMethod {
None,
Pkcs1,
Des,
Pkcs3,
Pgp4,
Pgp5,
Pem,
}
Variants§
Implementations§
source§impl EncryptMethod
impl EncryptMethod
pub fn from_bytes(input: &[u8]) -> Option<EncryptMethod>
pub fn from_fix_str(input: &FixStr) -> Option<EncryptMethod>
pub fn as_bytes(&self) -> &'static [u8] ⓘ
pub 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.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 EncryptMethod
impl Debug for EncryptMethod
source§impl From<EncryptMethod> for &'static [u8]
impl From<EncryptMethod> for &'static [u8]
source§impl PartialEq<EncryptMethod> for EncryptMethod
impl PartialEq<EncryptMethod> for EncryptMethod
source§fn eq(&self, other: &EncryptMethod) -> bool
fn eq(&self, other: &EncryptMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
§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.