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