pub struct NetworkErrorHandler;
Expand description
Network error categorization and handling
Implementations§
Source§impl NetworkErrorHandler
impl NetworkErrorHandler
Sourcepub fn handle_network_error(error: &Error, context: &str) -> RegistryError
pub fn handle_network_error(error: &Error, context: &str) -> RegistryError
Categorize and format network errors with helpful context
Auto Trait Implementations§
impl Freeze for NetworkErrorHandler
impl RefUnwindSafe for NetworkErrorHandler
impl Send for NetworkErrorHandler
impl Sync for NetworkErrorHandler
impl Unpin for NetworkErrorHandler
impl UnwindSafe for NetworkErrorHandler
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