pub struct XmlElementError(pub String);Expand description
解析错误。
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for XmlElementError
impl Clone for XmlElementError
Source§fn clone(&self) -> XmlElementError
fn clone(&self) -> XmlElementError
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 XmlElementError
impl Debug for XmlElementError
Source§impl Display for XmlElementError
impl Display for XmlElementError
impl Eq for XmlElementError
Source§impl Error for XmlElementError
impl Error for XmlElementError
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 XmlElementError
impl PartialEq for XmlElementError
impl StructuralPartialEq for XmlElementError
Auto Trait Implementations§
impl Freeze for XmlElementError
impl RefUnwindSafe for XmlElementError
impl Send for XmlElementError
impl Sync for XmlElementError
impl Unpin for XmlElementError
impl UnsafeUnpin for XmlElementError
impl UnwindSafe for XmlElementError
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