pub struct DetectEncodingItemError {
pub category: String,
pub code: String,
pub message: String,
}Expand description
Per-item error carried inside DetectEncodingItem::error.
This intentionally omits exit_code; per the
machine-readable-output spec only the top-level error envelope
carries an exit code. Per-item errors describe a single failed file
while the overall command status remains "ok".
Fields§
§category: StringSnake_case category mirroring crate::error::SubXError::category.
code: StringUpper-snake-case machine code mirroring
crate::error::SubXError::machine_code.
message: StringHuman-readable English message.
Trait Implementations§
Source§impl Debug for DetectEncodingItemError
impl Debug for DetectEncodingItemError
Auto Trait Implementations§
impl Freeze for DetectEncodingItemError
impl RefUnwindSafe for DetectEncodingItemError
impl Send for DetectEncodingItemError
impl Sync for DetectEncodingItemError
impl Unpin for DetectEncodingItemError
impl UnsafeUnpin for DetectEncodingItemError
impl UnwindSafe for DetectEncodingItemError
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