Skip to main content

Any

Struct Any 

Source
pub struct Any;
Expand description

All items are optional.

Trait Implementations§

Source§

impl<I, T1> StreamTupleJoin<I, Any> for (Stream<I, T1>,)
where (Option<T1>,): Tuple<Any>,

Source§

type Item = (Option<T1>,)

Item type.
Source§

impl<I, T1, T2> StreamTupleJoin<I, Any> for (Stream<I, T1>, Stream<I, T2>)
where (Option<T1>, Option<T2>): Tuple<Any>,

Source§

type Item = (Option<T1>, Option<T2>)

Item type.
Source§

impl<I, T1, T2, T3> StreamTupleJoin<I, Any> for (Stream<I, T1>, Stream<I, T2>, Stream<I, T3>)
where (Option<T1>, Option<T2>, Option<T3>): Tuple<Any>,

Source§

type Item = (Option<T1>, Option<T2>, Option<T3>)

Item type.
Source§

impl<I, T1, T2, T3, T4> StreamTupleJoin<I, Any> for (Stream<I, T1>, Stream<I, T2>, Stream<I, T3>, Stream<I, T4>)
where (Option<T1>, Option<T2>, Option<T3>, Option<T4>): Tuple<Any>,

Source§

type Item = (Option<T1>, Option<T2>, Option<T3>, Option<T4>)

Item type.
Source§

impl<I, T1, T2, T3, T4, T5> StreamTupleJoin<I, Any> for (Stream<I, T1>, Stream<I, T2>, Stream<I, T3>, Stream<I, T4>, Stream<I, T5>)
where (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>): Tuple<Any>,

Source§

type Item = (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>)

Item type.
Source§

impl<I, T1, T2, T3, T4, T5, T6> StreamTupleJoin<I, Any> for (Stream<I, T1>, Stream<I, T2>, Stream<I, T3>, Stream<I, T4>, Stream<I, T5>, Stream<I, T6>)
where (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>): Tuple<Any>,

Source§

type Item = (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>)

Item type.
Source§

impl<I, T1, T2, T3, T4, T5, T6, T7> StreamTupleJoin<I, Any> for (Stream<I, T1>, Stream<I, T2>, Stream<I, T3>, Stream<I, T4>, Stream<I, T5>, Stream<I, T6>, Stream<I, T7>)
where (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>): Tuple<Any>,

Source§

type Item = (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>)

Item type.
Source§

impl<I, T1, T2, T3, T4, T5, T6, T7, T8> StreamTupleJoin<I, Any> for (Stream<I, T1>, Stream<I, T2>, Stream<I, T3>, Stream<I, T4>, Stream<I, T5>, Stream<I, T6>, Stream<I, T7>, Stream<I, T8>)
where (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>): Tuple<Any>,

Source§

type Item = (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>)

Item type.
Source§

impl<T1> Tuple<Any> for (Option<T1>,)
where Self: Value, for<'a> (Option<&'a T1>,): TryFromValues<'a> + IntoOwned<Owned = Self>,

Source§

type Arguments<'a> = (Option<&'a T1>,)

Tuple arguments type.
Source§

impl<T1, T2> Tuple<Any> for (Option<T1>, Option<T2>)
where Self: Value, for<'a> (Option<&'a T1>, Option<&'a T2>): TryFromValues<'a> + IntoOwned<Owned = Self>,

Source§

type Arguments<'a> = (Option<&'a T1>, Option<&'a T2>)

Tuple arguments type.
Source§

impl<T1, T2, T3> Tuple<Any> for (Option<T1>, Option<T2>, Option<T3>)
where Self: Value, for<'a> (Option<&'a T1>, Option<&'a T2>, Option<&'a T3>): TryFromValues<'a> + IntoOwned<Owned = Self>,

Source§

type Arguments<'a> = (Option<&'a T1>, Option<&'a T2>, Option<&'a T3>)

Tuple arguments type.
Source§

impl<T1, T2, T3, T4> Tuple<Any> for (Option<T1>, Option<T2>, Option<T3>, Option<T4>)
where Self: Value, for<'a> (Option<&'a T1>, Option<&'a T2>, Option<&'a T3>, Option<&'a T4>): TryFromValues<'a> + IntoOwned<Owned = Self>,

Source§

type Arguments<'a> = (Option<&'a T1>, Option<&'a T2>, Option<&'a T3>, Option<&'a T4>)

Tuple arguments type.
Source§

impl<T1, T2, T3, T4, T5> Tuple<Any> for (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>)
where Self: Value, for<'a> (Option<&'a T1>, Option<&'a T2>, Option<&'a T3>, Option<&'a T4>, Option<&'a T5>): TryFromValues<'a> + IntoOwned<Owned = Self>,

Source§

type Arguments<'a> = (Option<&'a T1>, Option<&'a T2>, Option<&'a T3>, Option<&'a T4>, Option<&'a T5>)

Tuple arguments type.
Source§

impl<T1, T2, T3, T4, T5, T6> Tuple<Any> for (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>)
where Self: Value, for<'a> (Option<&'a T1>, Option<&'a T2>, Option<&'a T3>, Option<&'a T4>, Option<&'a T5>, Option<&'a T6>): TryFromValues<'a> + IntoOwned<Owned = Self>,

Source§

impl<T1, T2, T3, T4, T5, T6, T7> Tuple<Any> for (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>)
where Self: Value, for<'a> (Option<&'a T1>, Option<&'a T2>, Option<&'a T3>, Option<&'a T4>, Option<&'a T5>, Option<&'a T6>, Option<&'a T7>): TryFromValues<'a> + IntoOwned<Owned = Self>,

Source§

impl<T1, T2, T3, T4, T5, T6, T7, T8> Tuple<Any> for (Option<T1>, Option<T2>, Option<T3>, Option<T4>, Option<T5>, Option<T6>, Option<T7>, Option<T8>)

Source§

impl Presence for Any

Auto Trait Implementations§

§

impl Freeze for Any

§

impl RefUnwindSafe for Any

§

impl Send for Any

§

impl Sync for Any

§

impl Unpin for Any

§

impl UnsafeUnpin for Any

§

impl UnwindSafe for Any

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, E> IntoReport<T, E> for T
where E: Error,

Source§

fn into_report(self) -> Result<Report<T>, E>

Creates a report from a value T and wraps it in a result.

§Examples
use std::io::Error;
use zrx_diagnostic::report::IntoReport;

// Define function returning a value
fn f() -> impl IntoReport<i32, Error> {
    42
}

// Invoke function and create report
let res = f().into_report();
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.