pub struct SuperBuilder { /* private fields */ }
Expand description
§Supper Builder for Supper Exception
use super_pattern
Trait Implementations§
Source§impl Clone for SuperBuilder
impl Clone for SuperBuilder
Source§fn clone(&self) -> SuperBuilder
fn clone(&self) -> SuperBuilder
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 SuperBuilder
impl Debug for SuperBuilder
Source§impl Default for SuperBuilder
impl Default for SuperBuilder
Source§impl PartialEq for SuperBuilder
impl PartialEq for SuperBuilder
Source§impl SuperBuilderImpl<SuperException> for SuperBuilder
impl SuperBuilderImpl<SuperException> for SuperBuilder
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) -> SuperException
impl StructuralPartialEq for SuperBuilder
Auto Trait Implementations§
impl Freeze for SuperBuilder
impl RefUnwindSafe for SuperBuilder
impl Send for SuperBuilder
impl Sync for SuperBuilder
impl Unpin for SuperBuilder
impl UnwindSafe for SuperBuilder
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