Struct WriteableAsTryWriteableInfallible

struct WriteableAsTryWriteableInfallible<T>(182)

A wrapper around Writeable that implements TryWriteable with TryWriteable::Error set to Infallible.

Implementations

impl<T> Any for WriteableAsTryWriteableInfallible<T>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for WriteableAsTryWriteableInfallible<T>

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

impl<T> BorrowMut for WriteableAsTryWriteableInfallible<T>

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

impl<T> CloneToUninit for WriteableAsTryWriteableInfallible<T>

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

impl<T> Freeze for WriteableAsTryWriteableInfallible<T>

impl<T> From for WriteableAsTryWriteableInfallible<T>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> RefUnwindSafe for WriteableAsTryWriteableInfallible<T>

impl<T> Send for WriteableAsTryWriteableInfallible<T>

impl<T> StructuralPartialEq for WriteableAsTryWriteableInfallible<T>

impl<T> Sync for WriteableAsTryWriteableInfallible<T>

impl<T> ToOwned for WriteableAsTryWriteableInfallible<T>

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

impl<T> TryWriteable for WriteableAsTryWriteableInfallible<T>

fn try_write_to<W: fmt::Write + ?Sized>(self: &Self, sink: &mut W) -> Result<Result<(), Infallible>, Error>
fn try_write_to_parts<S: PartsWrite + ?Sized>(self: &Self, sink: &mut S) -> Result<Result<(), Infallible>, Error>
fn writeable_length_hint(self: &Self) -> LengthHint
fn try_write_to_string(self: &Self) -> Result<Cow<'_, str>, (Infallible, Cow<'_, str>)>

impl<T> Unpin for WriteableAsTryWriteableInfallible<T>

impl<T> UnsafeUnpin for WriteableAsTryWriteableInfallible<T>

impl<T> UnwindSafe for WriteableAsTryWriteableInfallible<T>

impl<T, U> Into for WriteableAsTryWriteableInfallible<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 WriteableAsTryWriteableInfallible<T>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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