pub struct FragmentScanError {
pub line: usize,
pub column: usize,
pub message: String,
}Expand description
A fragment file the claiming engine’s parser could not read (1-based line/column within that file).
Distinct from PayloadProbeError despite the same shape: that one is
positioned inside a pack’s payload block and gets mapped onto the pack
file, this one already points at a real file of its own.
Fields§
§line: usize1-based line within the fragment file.
column: usize1-based column within that line.
message: StringParser message.
Trait Implementations§
Source§impl Clone for FragmentScanError
impl Clone for FragmentScanError
Source§fn clone(&self) -> FragmentScanError
fn clone(&self) -> FragmentScanError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FragmentScanError
impl Debug for FragmentScanError
impl Eq for FragmentScanError
Source§impl PartialEq for FragmentScanError
impl PartialEq for FragmentScanError
impl StructuralPartialEq for FragmentScanError
Auto Trait Implementations§
impl Freeze for FragmentScanError
impl RefUnwindSafe for FragmentScanError
impl Send for FragmentScanError
impl Sync for FragmentScanError
impl Unpin for FragmentScanError
impl UnsafeUnpin for FragmentScanError
impl UnwindSafe for FragmentScanError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.