diff --git a/acrate-nodeinfo/src/lib.rs b/acrate-nodeinfo/src/lib.rs index 6a5afc4..625707e 100644 --- a/acrate-nodeinfo/src/lib.rs +++ b/acrate-nodeinfo/src/lib.rs @@ -240,6 +240,7 @@ impl HostMetaDocument { } } +#[derive(Debug)] pub enum HostMetaDiscoverError { /// Manipulation of the URL scheme of the given base failed. /// @@ -249,6 +250,8 @@ pub enum HostMetaDiscoverError { /// All attempts of fetching the host-meta document failed. Fetch(HostMetaDiscoveryAttemptsErrors), } + +#[derive(Debug)] pub struct HostMetaDiscoveryAttemptsErrors { /// The error that occoured when trying to fetch the host-meta document in [XRD format] via [HTTPS]. /// @@ -275,6 +278,7 @@ pub struct HostMetaDiscoveryAttemptsErrors { pub http_jrd: HostMetaGetJRDError, } +#[derive(Debug)] pub enum HostMetaGetXRDError { /// The HTTP request failed. Request(reqwest::Error), @@ -288,6 +292,7 @@ pub enum HostMetaGetXRDError { Parse(quick_xml::DeError), } +#[derive(Debug)] pub enum HostMetaGetJRDError { /// The HTTP request failed. Request(reqwest::Error),