Trait SuperBuilderImpl

Source
pub trait SuperBuilderImpl<T> {
    // Required methods
    fn new() -> Self;
    fn code(&self) -> u32;
    fn msg(&self) -> &str;
    fn level(&self) -> ExceptionLevel;
    fn set_code(&mut self, code: u32) -> &mut Self;
    fn set_msg(&mut self, msg: &str) -> &mut Self;
    fn set_level(&mut self, level: ExceptionLevel) -> &mut Self;
    fn exception_type(&self) -> Exceptions;
    fn timestamp(&self) -> Duration;
    fn build(&mut self) -> T;
}

Required Methods§

Source

fn new() -> Self

Source

fn code(&self) -> u32

Source

fn msg(&self) -> &str

Source

fn level(&self) -> ExceptionLevel

Source

fn set_code(&mut self, code: u32) -> &mut Self

Source

fn set_msg(&mut self, msg: &str) -> &mut Self

Source

fn set_level(&mut self, level: ExceptionLevel) -> &mut Self

Source

fn exception_type(&self) -> Exceptions

Source

fn timestamp(&self) -> Duration

Source

fn build(&mut self) -> T

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§