Skip to main content

Profile

Struct Profile 

Source
pub struct Profile<const D: bool, const T: bool, const F: bool>;

Trait Implementations§

Source§

impl<const D: bool, const T: bool, const F: bool> Clone for Profile<D, T, F>

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<const D: bool, const T: bool, const F: bool> Copy for Profile<D, T, F>

Source§

impl<const D: bool, const T: bool, const F: bool> Debug for Profile<D, T, F>

Source§

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

Formats the value using the given formatter. Read more
Source§

impl LaneProfile for Profile<false, false, false>

Source§

type Denied = !

Source§

type Transient = !

Source§

type Fatal = !

Source§

type WithoutTransient = Profile<false, false, false>

This profile with the transient lane narrowed away: the projection narrow_transient and retry return through, spelled crate::profile::WithoutTransient.
Source§

type WithoutDenied = Profile<false, false, false>

This profile with the denied lane narrowed away: the projection narrow_denied returns through, spelled crate::profile::WithoutDenied.
Source§

impl LaneProfile for Profile<false, false, true>

Source§

type Denied = !

Source§

type Transient = !

Source§

type Fatal = Fatal

Source§

type WithoutTransient = Profile<false, false, true>

This profile with the transient lane narrowed away: the projection narrow_transient and retry return through, spelled crate::profile::WithoutTransient.
Source§

type WithoutDenied = Profile<false, false, true>

This profile with the denied lane narrowed away: the projection narrow_denied returns through, spelled crate::profile::WithoutDenied.
Source§

impl LaneProfile for Profile<false, true, false>

Source§

type Denied = !

Source§

type Transient = Transient

Source§

type Fatal = !

Source§

type WithoutTransient = Profile<false, false, false>

This profile with the transient lane narrowed away: the projection narrow_transient and retry return through, spelled crate::profile::WithoutTransient.
Source§

type WithoutDenied = Profile<false, true, false>

This profile with the denied lane narrowed away: the projection narrow_denied returns through, spelled crate::profile::WithoutDenied.
Source§

impl LaneProfile for Profile<false, true, true>

Source§

type Denied = !

Source§

type Transient = Transient

Source§

type Fatal = Fatal

Source§

type WithoutTransient = Profile<false, false, true>

This profile with the transient lane narrowed away: the projection narrow_transient and retry return through, spelled crate::profile::WithoutTransient.
Source§

type WithoutDenied = Profile<false, true, true>

This profile with the denied lane narrowed away: the projection narrow_denied returns through, spelled crate::profile::WithoutDenied.
Source§

impl LaneProfile for Profile<true, false, false>

Source§

type Denied = Denied

Source§

type Transient = !

Source§

type Fatal = !

Source§

type WithoutTransient = Profile<true, false, false>

This profile with the transient lane narrowed away: the projection narrow_transient and retry return through, spelled crate::profile::WithoutTransient.
Source§

type WithoutDenied = Profile<false, false, false>

This profile with the denied lane narrowed away: the projection narrow_denied returns through, spelled crate::profile::WithoutDenied.
Source§

impl LaneProfile for Profile<true, false, true>

Source§

type Denied = Denied

Source§

type Transient = !

Source§

type Fatal = Fatal

Source§

type WithoutTransient = Profile<true, false, true>

This profile with the transient lane narrowed away: the projection narrow_transient and retry return through, spelled crate::profile::WithoutTransient.
Source§

type WithoutDenied = Profile<false, false, true>

This profile with the denied lane narrowed away: the projection narrow_denied returns through, spelled crate::profile::WithoutDenied.
Source§

impl LaneProfile for Profile<true, true, false>

Source§

type Denied = Denied

Source§

type Transient = Transient

Source§

type Fatal = !

Source§

type WithoutTransient = Profile<true, false, false>

This profile with the transient lane narrowed away: the projection narrow_transient and retry return through, spelled crate::profile::WithoutTransient.
Source§

type WithoutDenied = Profile<false, true, false>

This profile with the denied lane narrowed away: the projection narrow_denied returns through, spelled crate::profile::WithoutDenied.
Source§

impl LaneProfile for Profile<true, true, true>

Source§

type Denied = Denied

Source§

type Transient = Transient

Source§

type Fatal = Fatal

Source§

type WithoutTransient = Profile<true, false, true>

This profile with the transient lane narrowed away: the projection narrow_transient and retry return through, spelled crate::profile::WithoutTransient.
Source§

type WithoutDenied = Profile<false, true, true>

This profile with the denied lane narrowed away: the projection narrow_denied returns through, spelled crate::profile::WithoutDenied.

Auto Trait Implementations§

§

impl<const D: bool, const T: bool, const F: bool> Freeze for Profile<D, T, F>

§

impl<const D: bool, const T: bool, const F: bool> RefUnwindSafe for Profile<D, T, F>

§

impl<const D: bool, const T: bool, const F: bool> Send for Profile<D, T, F>

§

impl<const D: bool, const T: bool, const F: bool> Sync for Profile<D, T, F>

§

impl<const D: bool, const T: bool, const F: bool> Unpin for Profile<D, T, F>

§

impl<const D: bool, const T: bool, const F: bool> UnsafeUnpin for Profile<D, T, F>

§

impl<const D: bool, const T: bool, const F: bool> UnwindSafe for Profile<D, T, F>

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> CloneToUninit for T
where T: Clone,

Source§

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

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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<P> Lift<!> for P

Source§

type Unmapped = !

Source§

fn lift(x: !) -> Result<P, <P as Lift<!>>::Unmapped>

Source§

impl<X, P> Lift<X> for P
where X: Rejection, P: From<X>,

Source§

type Unmapped = !

Source§

fn lift(x: X) -> Result<P, <P as Lift<X>>::Unmapped>

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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.