pub struct IcuParseError {
pub kind: IcuErrorKind,
pub message: String,
pub position: IcuPosition,
}Expand description
Error returned when parsing ICU messages fails.
Fields§
§kind: IcuErrorKindHigh-level failure kind.
message: StringHuman-readable parser error message.
position: IcuPositionSource location for the parser failure.
Implementations§
Source§impl IcuParseError
impl IcuParseError
Trait Implementations§
Source§impl Clone for IcuParseError
impl Clone for IcuParseError
Source§fn clone(&self) -> IcuParseError
fn clone(&self) -> IcuParseError
Returns a duplicate of the value. Read more
1.0.0 · 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 IcuParseError
impl Debug for IcuParseError
Source§impl Display for IcuParseError
impl Display for IcuParseError
Source§impl Error for IcuParseError
impl Error for IcuParseError
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 IcuParseError
impl PartialEq for IcuParseError
impl Eq for IcuParseError
impl StructuralPartialEq for IcuParseError
Auto Trait Implementations§
impl Freeze for IcuParseError
impl RefUnwindSafe for IcuParseError
impl Send for IcuParseError
impl Sync for IcuParseError
impl Unpin for IcuParseError
impl UnsafeUnpin for IcuParseError
impl UnwindSafe for IcuParseError
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