pub enum Error {
Show 14 variants
DuplicateTag {
tag: Tag,
},
NonIntegerValue {
field: String,
value: String,
},
RepeatedCode {
field: String,
first: String,
second: String,
},
DuplicateComponent {
component: String,
},
DuplicateMsgType {
msg_type: String,
first: String,
second: String,
},
UnexpectedLengthTag {
field: String,
tag: Tag,
},
UnknownLengthTag {
field: String,
tag: Tag,
},
NonLengthField {
field: String,
length_field: String,
},
SharedLengthField {
length_field: String,
first: String,
second: String,
},
MissingLengthTag {
field: String,
context: MemberContext,
},
UnknownField {
tag: Tag,
context: MemberContext,
},
UnknownComponent {
component: String,
context: MemberContext,
},
CircularComponent {
component: String,
},
EmptyGroup {
context: MemberContext,
},
}Expand description
A defect found while resolving a crate::Spec into a
crate::Dictionary.
Variants§
DuplicateTag
NonIntegerValue
A value listed for an int-based field that is not a FIX integer.
RepeatedCode
Two values listed under one code of a field, 1 and 01 being one
code on an int-based field.
DuplicateComponent
DuplicateMsgType
Two messages declaring the same MsgType.
UnexpectedLengthTag
A length tag on a field that is not a data field.
UnknownLengthTag
NonLengthField
A data field taking its length from a field not typed LENGTH.
Two data fields taking their length from one field.
MissingLengthTag
A data field used without a length tag.
UnknownField
UnknownComponent
CircularComponent
EmptyGroup
Fields
§
context: MemberContextTrait Implementations§
impl Eq for Error
Source§impl Error for Error
impl Error for Error
1.30.0 · 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()
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Forget for Error
impl Freeze for Error
impl Move for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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