pub enum ConnectCoreV1GetNodeProxyWithPathResponse {
Ok(String),
Unauthorized,
Other,
}
Expand description
Parses the HTTP response of Node::connect_core_v1_get_node_proxy_with_path
Variants§
Trait Implementations§
source§impl Response for ConnectCoreV1GetNodeProxyWithPathResponse
impl Response for ConnectCoreV1GetNodeProxyWithPathResponse
source§fn try_from_parts(
status_code: StatusCode,
buf: &[u8]
) -> Result<(Self, usize), ResponseError>
fn try_from_parts(
status_code: StatusCode,
buf: &[u8]
) -> Result<(Self, usize), ResponseError>
Tries to parse the response from the given status code and response body.