pub struct HaProxErr { /* private fields */ }Expand description
Error description.
Implementations§
Source§impl HaProxErr
impl HaProxErr
Sourcepub fn new(err_type: HaProxErrType, msg: String) -> Self
pub fn new(err_type: HaProxErrType, msg: String) -> Self
Creates new error message.
Sourcepub fn get_err_type(&self) -> HaProxErrType
pub fn get_err_type(&self) -> HaProxErrType
Returns error type.
Trait Implementations§
impl Eq for HaProxErr
impl StructuralPartialEq for HaProxErr
Auto Trait Implementations§
impl Freeze for HaProxErr
impl RefUnwindSafe for HaProxErr
impl Send for HaProxErr
impl Sync for HaProxErr
impl Unpin for HaProxErr
impl UnwindSafe for HaProxErr
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