Enum easyfix_messages::fields::StatusValue
source · pub enum StatusValue {
Connected,
NotConnected2,
NotConnected3,
InProcess,
}
Variants§
Implementations§
source§impl StatusValue
impl StatusValue
pub fn from_bytes(input: &[u8]) -> Option<StatusValue>
pub fn from_fix_str(input: &FixStr) -> Option<StatusValue>
pub fn as_bytes(&self) -> &'static [u8] ⓘ
pub fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
source§impl Clone for StatusValue
impl Clone for StatusValue
source§fn clone(&self) -> StatusValue
fn clone(&self) -> StatusValue
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 StatusValue
impl Debug for StatusValue
source§impl From<StatusValue> for &'static [u8]
impl From<StatusValue> for &'static [u8]
source§impl PartialEq<StatusValue> for StatusValue
impl PartialEq<StatusValue> for StatusValue
source§fn eq(&self, other: &StatusValue) -> bool
fn eq(&self, other: &StatusValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToFixString for StatusValue
impl ToFixString for StatusValue
fn to_fix_string(&self) -> FixString
source§impl TryFrom<i64> for StatusValue
impl TryFrom<i64> for StatusValue
§type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
source§fn try_from(input: Int) -> Result<StatusValue, SessionRejectReason>
fn try_from(input: Int) -> Result<StatusValue, SessionRejectReason>
Performs the conversion.