#[repr(i32)]pub enum ConflictHandler {
Error = 1,
Prompt = 3,
UseGlobalType = 4,
}Expand description
How the engine resolves a type conflict while loading
(ConflictHandler_*).
Variants§
Error = 1
Fail the load (ConflictHandler_Error). The only non-interactive
choice that never blocks, so it is the sensible default for a service.
Prompt = 3
Ask the user (ConflictHandler_Prompt). Raises a dialog, unsuitable
for an unattended host.
UseGlobalType = 4
Keep the already-loaded type (ConflictHandler_UseGlobalType).
Implementations§
Trait Implementations§
Source§impl Clone for ConflictHandler
impl Clone for ConflictHandler
Source§fn clone(&self) -> ConflictHandler
fn clone(&self) -> ConflictHandler
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 ConflictHandler
Source§impl Debug for ConflictHandler
impl Debug for ConflictHandler
impl Eq for ConflictHandler
Source§impl Hash for ConflictHandler
impl Hash for ConflictHandler
Source§impl PartialEq for ConflictHandler
impl PartialEq for ConflictHandler
impl StructuralPartialEq for ConflictHandler
Auto Trait Implementations§
impl Freeze for ConflictHandler
impl RefUnwindSafe for ConflictHandler
impl Send for ConflictHandler
impl Sync for ConflictHandler
impl Unpin for ConflictHandler
impl UnsafeUnpin for ConflictHandler
impl UnwindSafe for ConflictHandler
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