[−][src]Struct electrscash::config::ResolvAddr
Newtype for an address that is parsed as String
The main point of this newtype is to provide better description than what String
type
provides.
Trait Implementations
impl<'de> Deserialize<'de> for ResolvAddr
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl ParseArg for ResolvAddr
[src]
type Error = InvalidUtf8
Type returned in Err
variant of Result
when parsing fails.
fn parse_arg(arg: &OsStr) -> Result<Self, Self::Error>
[src]
fn parse_owned_arg(arg: OsString) -> Result<Self, Self::Error>
[src]
fn describe_type<W: Write>(writer: W) -> Result
[src]
Auto Trait Implementations
impl Send for ResolvAddr
impl Sync for ResolvAddr
impl Unpin for ResolvAddr
impl UnwindSafe for ResolvAddr
impl RefUnwindSafe for ResolvAddr
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> ParseArg for T where
T: ParseArgFromStr,
<T as FromStr>::Err: Display,
T: ParseArgFromStr,
<T as FromStr>::Err: Display,
type Error = ParseArgError<<T as FromStr>::Err>
Type returned in Err
variant of Result
when parsing fails.
fn parse_arg(arg: &OsStr) -> Result<T, <T as ParseArg>::Error>
fn describe_type<W>(writer: W) -> Result<(), Error> where
W: Write,
W: Write,
fn parse_owned_arg(arg: OsString) -> Result<Self, Self::Error>
impl<T> Configure for T where
T: ?Sized,
[src]
T: ?Sized,