Enum easyfix_messages::fields::MsgDirection
source · pub enum MsgDirection {
Receive,
Send,
}
Variants§
Implementations§
source§impl MsgDirection
impl MsgDirection
pub const fn from_bytes(input: &[u8]) -> Option<MsgDirection>
pub const fn from_fix_str(input: &FixStr) -> Option<MsgDirection>
pub const fn as_bytes(&self) -> &'static [u8] ⓘ
pub const fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
source§impl Clone for MsgDirection
impl Clone for MsgDirection
source§fn clone(&self) -> MsgDirection
fn clone(&self) -> MsgDirection
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 MsgDirection
impl Debug for MsgDirection
source§impl Default for MsgDirection
impl Default for MsgDirection
source§fn default() -> MsgDirection
fn default() -> MsgDirection
Returns the “default value” for a type. Read more
source§impl From<MsgDirection> for &'static [u8]
impl From<MsgDirection> for &'static [u8]
source§impl PartialEq for MsgDirection
impl PartialEq for MsgDirection
source§fn eq(&self, other: &MsgDirection) -> bool
fn eq(&self, other: &MsgDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToFixString for MsgDirection
impl ToFixString for MsgDirection
fn to_fix_string(&self) -> FixString
source§impl TryFrom<u8> for MsgDirection
impl TryFrom<u8> for MsgDirection
§type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
source§fn try_from(input: Char) -> Result<MsgDirection, SessionRejectReason>
fn try_from(input: Char) -> Result<MsgDirection, SessionRejectReason>
Performs the conversion.
impl Copy for MsgDirection
impl Eq for MsgDirection
impl StructuralPartialEq for MsgDirection
Auto Trait Implementations§
impl Freeze for MsgDirection
impl RefUnwindSafe for MsgDirection
impl Send for MsgDirection
impl Sync for MsgDirection
impl Unpin for MsgDirection
impl UnwindSafe for MsgDirection
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