pub enum Error {
Service(StratumServiceError),
Address(AddrParseError),
}
Expand description
Stratum error
Variants
Service(StratumServiceError)
IPC sockets error
Address(AddrParseError)
Invalid network address
Trait Implementations
sourceimpl From<AddrParseError> for Error
impl From<AddrParseError> for Error
sourcefn from(err: AddrParseError) -> Error
fn from(err: AddrParseError) -> Error
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more