pub struct TranslationError {
pub unsupported_characters: Vec<String>,
pub result: String,
}
Expand description
The structure that is returned if the encode or decode functions failed.
Fields§
§unsupported_characters: Vec<String>
Vec of all unsupported characters causing the error.
result: String
The completed parse result. Failed characters have been replaced by #
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TranslationError
impl RefUnwindSafe for TranslationError
impl Send for TranslationError
impl Sync for TranslationError
impl Unpin for TranslationError
impl UnwindSafe for TranslationError
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