pub struct Config {
pub external_parse_config: ExternalEntityParseConfig,
}
Expand description
Config is currently for setting up the parser to allow or prevent external entity parsing. It’s important for preventing some security risks, but it’s has not been thoroughly tested for all XML attacks. It prevents parsing of external entities by default, warns the user if it’s enabled, and asks the user to confirm proceeding with external parsing in the terminal.
Fields§
§external_parse_config: ExternalEntityParseConfig
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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