Struct TryWriteableInfallibleAsWriteable

struct TryWriteableInfallibleAsWriteable<T>(129)

A wrapper around TryWriteable that implements Writeable if TryWriteable::Error is Infallible.

Implementations

impl<T> Any for TryWriteableInfallibleAsWriteable<T>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for TryWriteableInfallibleAsWriteable<T>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for TryWriteableInfallibleAsWriteable<T>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for TryWriteableInfallibleAsWriteable<T>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> Display for TryWriteableInfallibleAsWriteable<T>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl<T> Freeze for TryWriteableInfallibleAsWriteable<T>

impl<T> From for TryWriteableInfallibleAsWriteable<T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> RefUnwindSafe for TryWriteableInfallibleAsWriteable<T>

impl<T> Send for TryWriteableInfallibleAsWriteable<T>

impl<T> StructuralPartialEq for TryWriteableInfallibleAsWriteable<T>

impl<T> Sync for TryWriteableInfallibleAsWriteable<T>

impl<T> ToOwned for TryWriteableInfallibleAsWriteable<T>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> ToString for TryWriteableInfallibleAsWriteable<T>

fn to_string(self: &Self) -> String

impl<T> Unpin for TryWriteableInfallibleAsWriteable<T>

impl<T> UnsafeUnpin for TryWriteableInfallibleAsWriteable<T>

impl<T> UnwindSafe for TryWriteableInfallibleAsWriteable<T>

impl<T> Writeable for TryWriteableInfallibleAsWriteable<T>

fn write_to<W: fmt::Write + ?Sized>(self: &Self, sink: &mut W) -> Result
fn write_to_parts<S: PartsWrite + ?Sized>(self: &Self, sink: &mut S) -> Result
fn writeable_length_hint(self: &Self) -> LengthHint
fn write_to_string(self: &Self) -> Cow<'_, str>

impl<T, U> Into for TryWriteableInfallibleAsWriteable<T>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for TryWriteableInfallibleAsWriteable<T>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for TryWriteableInfallibleAsWriteable<T>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<T: $crate::clone::Clone> Clone for TryWriteableInfallibleAsWriteable<T>

fn clone(self: &Self) -> TryWriteableInfallibleAsWriteable<T>

impl<T: $crate::cmp::Eq> Eq for TryWriteableInfallibleAsWriteable<T>

impl<T: $crate::cmp::Ord> Ord for TryWriteableInfallibleAsWriteable<T>

fn cmp(self: &Self, other: &TryWriteableInfallibleAsWriteable<T>) -> Ordering

impl<T: $crate::cmp::PartialEq> PartialEq for TryWriteableInfallibleAsWriteable<T>

fn eq(self: &Self, other: &TryWriteableInfallibleAsWriteable<T>) -> bool

impl<T: $crate::cmp::PartialOrd> PartialOrd for TryWriteableInfallibleAsWriteable<T>

fn partial_cmp(self: &Self, other: &TryWriteableInfallibleAsWriteable<T>) -> Option<Ordering>

impl<T: $crate::fmt::Debug> Debug for TryWriteableInfallibleAsWriteable<T>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl<T: $crate::hash::Hash> Hash for TryWriteableInfallibleAsWriteable<T>

fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)