Struct PasswordReplaced
struct PasswordReplaced<'a, T: ?Sized, D> { ... }
A wrapper of an IRI string that replaces the non-empty password when Displayed.
This is a retrun type of mask_password method of IRI string types (such as
RiStr::mask_password).
Note that the result might be invalid as an IRI since arbitrary string can
go to the place of the password.
Because of this, ToDedicatedString trait is not implemented for this type.
Implementations
impl<'a, T, D> Freeze for PasswordReplaced<'a, T, D>
impl<'a, T, D> RefUnwindSafe for PasswordReplaced<'a, T, D>
impl<'a, T, D> Send for PasswordReplaced<'a, T, D>
impl<'a, T, D> Sync for PasswordReplaced<'a, T, D>
impl<'a, T, D> Unpin for PasswordReplaced<'a, T, D>
impl<'a, T, D> UnsafeUnpin for PasswordReplaced<'a, T, D>
impl<'a, T, D> UnwindSafe for PasswordReplaced<'a, T, D>
impl<S: Spec, D: fmt::Display> Debug for PasswordReplaced<'_, RiAbsoluteStr<S>, D>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<S: Spec, D: fmt::Display> Debug for PasswordReplaced<'_, RiReferenceStr<S>, D>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<S: Spec, D: fmt::Display> Debug for PasswordReplaced<'_, RiRelativeStr<S>, D>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<S: Spec, D: fmt::Display> Debug for PasswordReplaced<'_, RiStr<S>, D>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<S: Spec, D: fmt::Display> Display for PasswordReplaced<'_, RiAbsoluteStr<S>, D>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<S: Spec, D: fmt::Display> Display for PasswordReplaced<'_, RiReferenceStr<S>, D>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<S: Spec, D: fmt::Display> Display for PasswordReplaced<'_, RiRelativeStr<S>, D>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<S: Spec, D: fmt::Display> Display for PasswordReplaced<'_, RiStr<S>, D>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<T> Any for PasswordReplaced<'a, T, D>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for PasswordReplaced<'a, T, D>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for PasswordReplaced<'a, T, D>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for PasswordReplaced<'a, T, D>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToString for PasswordReplaced<'a, T, D>
fn to_string(self: &Self) -> String
impl<T> ToStringFallible for PasswordReplaced<'a, T, D>
fn try_to_string(self: &Self) -> Result<String, TryReserveError>[
ToString::to_string]alloc::string::ToString::to_string, but without panic on OOM.
impl<T, U> Into for PasswordReplaced<'a, T, D>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for PasswordReplaced<'a, T, D>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for PasswordReplaced<'a, T, D>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>