Enum easyfix::fields::TerminationType
source · [−]pub enum TerminationType {
Overnight,
Term,
Flexible,
Open,
}
Variants
Overnight
Term
Flexible
Open
Implementations
sourceimpl TerminationType
impl TerminationType
pub fn from_bytes(input: &[u8]) -> Option<TerminationType>
pub fn from_fix_str(input: &FixStr) -> Option<TerminationType>
pub fn as_bytes(&self) -> &'static [u8]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
pub fn as_fix_str(&self) -> &'static FixStr
Trait Implementations
sourceimpl Clone for TerminationType
impl Clone for TerminationType
sourcefn clone(&self) -> TerminationType
fn clone(&self) -> TerminationType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TerminationType
impl Debug for TerminationType
sourceimpl From<TerminationType> for &'static [u8]
impl From<TerminationType> for &'static [u8]
sourceimpl PartialEq<TerminationType> for TerminationType
impl PartialEq<TerminationType> for TerminationType
sourceimpl TryFrom<i64> for TerminationType
impl TryFrom<i64> for TerminationType
type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
sourcefn try_from(input: i64) -> Result<TerminationType, SessionRejectReason>
fn try_from(input: i64) -> Result<TerminationType, SessionRejectReason>
Performs the conversion.
impl Copy for TerminationType
impl Eq for TerminationType
impl StructuralEq for TerminationType
impl StructuralPartialEq for TerminationType
Auto Trait Implementations
impl RefUnwindSafe for TerminationType
impl Send for TerminationType
impl Sync for TerminationType
impl Unpin for TerminationType
impl UnwindSafe for TerminationType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more