nodeinfo
: Derive Debug
on all struct
s
This commit is contained in:
parent
f9da277845
commit
00befc432d
1 changed files with 5 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue