pub enum GenericDelivery {
Custom(xmlGenericErrorFunc, *mut c_void),
Stream,
None,
}Expand description
How a raise delivers to the generic side of the error system (upstream
xmlVRaiseError channel selection, error.c 2.15).
Variants§
Custom(xmlGenericErrorFunc, *mut c_void)
Custom SAX channel: single call channel(ctx, msg).
Stream
Legacy/default channel: stream the xmlFormatError fragments through
the global generic handler.
None
No channel (SAX slot NULL): no generic delivery.
Trait Implementations§
Source§impl Clone for GenericDelivery
impl Clone for GenericDelivery
Source§fn clone(&self) -> GenericDelivery
fn clone(&self) -> GenericDelivery
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 moreimpl Copy for GenericDelivery
Auto Trait Implementations§
impl !Send for GenericDelivery
impl !Sync for GenericDelivery
impl Freeze for GenericDelivery
impl RefUnwindSafe for GenericDelivery
impl Unpin for GenericDelivery
impl UnsafeUnpin for GenericDelivery
impl UnwindSafe for GenericDelivery
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