#[non_exhaustive]pub enum WireErrorKind {
UnterminatedSegment,
DanglingEscape,
BadBinaryLength,
BinaryOverrun {
declared: usize,
},
BinaryInsideText,
DataAfterBinary,
}Available on non-crate feature
tooling only.Expand description
A violation of the FinTS syntax rules (Formals H.1).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UnterminatedSegment
Input ends inside a segment: no segment end character ' (H.1.2).
DanglingEscape
Input ends right after the release character ? (H.1.3).
BadBinaryLength
@ not followed by <digits>@ (H.1.4).
BinaryOverrun
The binary length points past the end of the input (H.1.4).
BinaryInsideText
Binary data starts after other characters of the same element.
DataAfterBinary
Something other than a separator follows binary data.
Trait Implementations§
Source§impl Clone for WireErrorKind
impl Clone for WireErrorKind
Source§impl Debug for WireErrorKind
impl Debug for WireErrorKind
Source§impl Display for WireErrorKind
impl Display for WireErrorKind
impl Eq for WireErrorKind
Source§impl Error for WireErrorKind
impl Error for WireErrorKind
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()
Source§impl PartialEq for WireErrorKind
impl PartialEq for WireErrorKind
impl StructuralPartialEq for WireErrorKind
Auto Trait Implementations§
impl Forget for WireErrorKind
impl Freeze for WireErrorKind
impl Move for WireErrorKind
impl RefUnwindSafe for WireErrorKind
impl Send for WireErrorKind
impl Sync for WireErrorKind
impl Unpin for WireErrorKind
impl UnsafeUnpin for WireErrorKind
impl UnwindSafe for WireErrorKind
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