pub enum XmlErrorLevel {
None,
Warning,
Error,
Fatal,
}Expand description
Rust enum variant of libxml2’s xmlErrorLevel
Variants§
Implementations§
Source§impl XmlErrorLevel
impl XmlErrorLevel
Sourcepub fn from_raw(error_level: xmlErrorLevel) -> XmlErrorLevel
pub fn from_raw(error_level: xmlErrorLevel) -> XmlErrorLevel
Convert an xmlErrorLevel provided by libxml2 (as an integer) into a Rust enum
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XmlErrorLevel
impl RefUnwindSafe for XmlErrorLevel
impl Send for XmlErrorLevel
impl Sync for XmlErrorLevel
impl Unpin for XmlErrorLevel
impl UnwindSafe for XmlErrorLevel
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