Enum easyfix_messages::fields::EncryptMethod
source · pub enum EncryptMethod {
NoneOther,
Pkcs1,
Des,
Pkcs3,
Pgp4,
Pgp5,
Pem,
}
Variants§
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.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 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§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.
impl Copy for EncryptMethod
impl Eq for EncryptMethod
impl StructuralPartialEq for EncryptMethod
Auto Trait Implementations§
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