pub struct NetworkErrorCodeParts {
pub network_type: ErrorCodeNetworkType,
pub error_code: u16,
}Fields§
§network_type: ErrorCodeNetworkType§error_code: u16Implementations§
Source§impl NetworkErrorCodeParts
impl NetworkErrorCodeParts
pub const fn new(network_type: ErrorCodeNetworkType, error_code: u16) -> Self
pub fn raw(self) -> (ErrorCodeNetworkType, u16)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NetworkErrorCodeParts
impl RefUnwindSafe for NetworkErrorCodeParts
impl Send for NetworkErrorCodeParts
impl Sync for NetworkErrorCodeParts
impl Unpin for NetworkErrorCodeParts
impl UnwindSafe for NetworkErrorCodeParts
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more