pub struct ErrorFactory { /* private fields */ }Implementations§
Source§impl ErrorFactory
impl ErrorFactory
pub fn new( service: &'static str, service_name: &'static str, errors: ErrorMap, ) -> Self
pub fn create(&self, code: &str) -> FirebaseError
pub fn create_with_data<I, K, V>(&self, code: &str, data: I) -> FirebaseError
Auto Trait Implementations§
impl Freeze for ErrorFactory
impl RefUnwindSafe for ErrorFactory
impl Send for ErrorFactory
impl Sync for ErrorFactory
impl Unpin for ErrorFactory
impl UnwindSafe for ErrorFactory
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