Skip to content

error

Enums

  • EndpointParseError - Errors returned by [super::EndpointInner::parse_client] and [super::EndpointInner::parse_server]

firma_secret_provider::endpoint::error::EndpointParseError

Section titled “firma_secret_provider::endpoint::error::EndpointParseError”

Enum

Errors returned by [super::EndpointInner::parse_client] and [super::EndpointInner::parse_server] when an address string is malformed or names a scheme unavailable on the current platform.

Variants:

  • InvalidTCP{ addr: String, error: std::net::AddrParseError } - The tcp:// prefix matched, but the remainder did not parse as a
  • IO(io::Error)
  • UnixUnsupported(String) - A unix:// address was given on a non-unix system.
  • Unrecognized(String) - The string had neither a tcp:// nor a unix:// prefix.
  • NoLoopback(std::net::IpAddr)
  • NotAbsolute(String)
  • NoParent(String)
  • WrongPermissions(String)

Trait Implementations:

  • Error
    • fn source(self: &Self) -> ::core::option::Option<&dyn ::thiserror::__private18::Error>
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • Display
    • fn fmt(self: &Self, __formatter: & mut ::core::fmt::Formatter) -> ::core::fmt::Result