Enum sp_tracing::WasmLevel
source · pub enum WasmLevel {
ERROR,
WARN,
INFO,
DEBUG,
TRACE,
}
Expand description
The Tracing Level – the user can filter by this
Variants§
ERROR
This is a fatal errors
WARN
This is a warning you should be aware of
INFO
Nice to now info
DEBUG
Further information for debugging purposes
TRACE
The lowest level, keeping track of minute detail
Trait Implementations§
source§impl Decode for WasmLevel
impl Decode for WasmLevel
source§impl Encode for WasmLevel
impl Encode for WasmLevel
source§fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
Convert self to a slice and append it to the destination.
source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
source§fn using_encoded<R, F>(&self, f: F) -> Rwhere
F: FnOnce(&[u8]) -> R,
fn using_encoded<R, F>(&self, f: F) -> Rwhere
F: FnOnce(&[u8]) -> R,
Convert self to a slice and then invoke the given closure with it.
source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more