pub enum FixError {
Connection(String),
Session(String),
Encoding(String),
Decoding(String),
InvalidMessage(String),
SequenceError {
expected: u64,
actual: u64,
},
Authentication(String),
Timeout(String),
Io(Error),
Configuration(String),
Rejected(String),
}Expand description
FIX protocol errors.
Variants§
Connection(String)
Connection error.
Session(String)
Session error.
Encoding(String)
Message encoding error.
Decoding(String)
Message decoding error.
InvalidMessage(String)
Invalid message format.
SequenceError
Sequence number error.
Authentication(String)
Authentication error.
Timeout(String)
Timeout error.
Io(Error)
IO error.
Configuration(String)
Configuration error.
Rejected(String)
Rejected message.
Trait Implementations§
Source§impl Error for FixError
impl Error for FixError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for FixError
impl !RefUnwindSafe for FixError
impl Send for FixError
impl Sync for FixError
impl Unpin for FixError
impl !UnwindSafe for FixError
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