pub enum PegRoundDirection {
MoreAggressive,
MorePassive,
}
Variants§
Implementations§
source§impl PegRoundDirection
impl PegRoundDirection
pub const fn from_bytes(input: &[u8]) -> Option<PegRoundDirection>
pub const fn from_fix_str(input: &FixStr) -> Option<PegRoundDirection>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const 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 Default for PegRoundDirection
impl Default for PegRoundDirection
source§fn default() -> PegRoundDirection
fn default() -> PegRoundDirection
Returns the “default value” for a type. Read more
source§impl From<PegRoundDirection> for &'static [u8]
impl From<PegRoundDirection> for &'static [u8]
source§impl PartialEq for PegRoundDirection
impl PartialEq for PegRoundDirection
source§impl Serialize for PegRoundDirection
impl Serialize for PegRoundDirection
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
source§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.
impl Copy for PegRoundDirection
impl Eq for PegRoundDirection
impl StructuralPartialEq for PegRoundDirection
Auto Trait Implementations§
impl Freeze for PegRoundDirection
impl RefUnwindSafe for PegRoundDirection
impl Send for PegRoundDirection
impl Sync for PegRoundDirection
impl Unpin for PegRoundDirection
impl UnwindSafe for PegRoundDirection
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
)