pub struct InvalidContent {
pub msg: String,
}Expand description
Error indicating an attempt to create a comment or CDATA with invalid content (eg a comment with “–>” inside)
Fields§
§msg: StringThe error message.
Implementations§
Trait Implementations§
Source§impl Clone for InvalidContent
impl Clone for InvalidContent
Source§fn clone(&self) -> InvalidContent
fn clone(&self) -> InvalidContent
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 InvalidContent
impl Debug for InvalidContent
Source§impl Display for InvalidContent
impl Display for InvalidContent
Source§impl Error for InvalidContent
impl Error for InvalidContent
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 From<InvalidContent> for KissXmlError
impl From<InvalidContent> for KissXmlError
Source§fn from(e: InvalidContent) -> Self
fn from(e: InvalidContent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidContent
impl RefUnwindSafe for InvalidContent
impl Send for InvalidContent
impl Sync for InvalidContent
impl Unpin for InvalidContent
impl UnsafeUnpin for InvalidContent
impl UnwindSafe for InvalidContent
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