pub enum AssertionType {
Warning,
Error,
Fatal,
}
Expand description
An assertion’s error type.
Variants§
Warning
The assertion should produce a warning, but not fail linking.
Error
The assertion should produce an error, and cause the linker to exit unsuccessfully.
Fatal
The assertion should produce an error, and abort linking immediately.
Implementations§
Trait Implementations§
Source§impl Clone for AssertionType
impl Clone for AssertionType
Source§fn clone(&self) -> AssertionType
fn clone(&self) -> AssertionType
Returns a duplicate of the value. Read more
1.0.0 · 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 AssertionType
impl Debug for AssertionType
Source§impl Display for AssertionType
impl Display for AssertionType
impl Copy for AssertionType
Auto Trait Implementations§
impl Freeze for AssertionType
impl RefUnwindSafe for AssertionType
impl Send for AssertionType
impl Sync for AssertionType
impl Unpin for AssertionType
impl UnwindSafe for AssertionType
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