Enum spirv_tools::error::MessageLevel
source · #[repr(C)]pub enum MessageLevel {
Fatal,
InternalError,
Error,
Warning,
Info,
Debug,
}
Variants§
Fatal
Unrecoverable error due to environment. Will exit the program immediately. E.g., out of memory.
InternalError
Unrecoverable error due to SPIRV-Tools internals. Will exit the program immediately. E.g., unimplemented feature.
Error
Normal error due to user input.
Warning
Warning information.
Info
General information.
Debug
Debug information.
Trait Implementations§
source§impl Clone for MessageLevel
impl Clone for MessageLevel
source§fn clone(&self) -> MessageLevel
fn clone(&self) -> MessageLevel
Returns a copy 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 MessageLevel
impl Debug for MessageLevel
source§impl PartialEq<MessageLevel> for MessageLevel
impl PartialEq<MessageLevel> for MessageLevel
source§fn eq(&self, other: &MessageLevel) -> bool
fn eq(&self, other: &MessageLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MessageLevel
impl StructuralPartialEq for MessageLevel
Auto Trait Implementations§
impl RefUnwindSafe for MessageLevel
impl Send for MessageLevel
impl Sync for MessageLevel
impl Unpin for MessageLevel
impl UnwindSafe for MessageLevel
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