Skip to main content

BuildDispatchError

Enum BuildDispatchError 

Source
pub enum BuildDispatchError {
    BuildFrontend(AnyErrorBuild),
    BuildBackend(Error),
    Tags(TagsError),
    Resolve(ResolveError),
    ResolveRequirements {
        requirements: Vec<Requirement>,
        source: ResolveError,
    },
    Join(JoinError),
    Anyhow(Error),
    Prepare(PrepareError),
    UninstallBuildDependencies(UninstallError),
    InstallBuildDependencies(InstallError),
    Plan(PlanError),
    Lookahead(Error),
}

Variants§

§

BuildFrontend(AnyErrorBuild)

§

BuildBackend(Error)

§

Tags(TagsError)

§

Resolve(ResolveError)

§

ResolveRequirements

Fields

§requirements: Vec<Requirement>
§

Join(JoinError)

§

Anyhow(Error)

§

Prepare(PrepareError)

§

UninstallBuildDependencies(UninstallError)

§

InstallBuildDependencies(InstallError)

§

Plan(PlanError)

§

Lookahead(Error)

Trait Implementations§

Source§

impl Debug for BuildDispatchError

Source§

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

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

impl Display for BuildDispatchError

Source§

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

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

impl Error for BuildDispatchError

Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Replaced by Error::source.
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<AnyErrorBuild> for BuildDispatchError

Source§

fn from(source: AnyErrorBuild) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for BuildDispatchError

Source§

fn from(source: BuildBackendError) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for BuildDispatchError

Source§

fn from(source: Error) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for BuildDispatchError

Source§

fn from(source: PrepareError) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for BuildDispatchError

Source§

fn from(source: Error) -> Self

Converts to this type from the input type.
Source§

impl From<JoinError> for BuildDispatchError

Source§

fn from(source: JoinError) -> Self

Converts to this type from the input type.
Source§

impl From<PlanError> for BuildDispatchError

Source§

fn from(source: PlanError) -> Self

Converts to this type from the input type.
Source§

impl From<ResolveError> for BuildDispatchError

Source§

fn from(source: ResolveError) -> Self

Converts to this type from the input type.
Source§

impl From<TagsError> for BuildDispatchError

Source§

fn from(source: TagsError) -> Self

Converts to this type from the input type.
Source§

impl Hinted for BuildDispatchError

Source§

fn hints(&self) -> Hints<'_>

Return any hints associated with this error.
Source§

impl IsBuildBackendError for BuildDispatchError

Source§

fn is_user_failure(&self) -> bool

Return whether this is an expected user-facing failure.
Source§

fn is_build_backend_error(&self) -> bool

Returns whether the build backend failed to build the package, so it’s not a uv error.

Auto Trait Implementations§

§

impl !RefUnwindSafe for BuildDispatchError

§

impl !UnwindSafe for BuildDispatchError

§

impl Forget for BuildDispatchError

§

impl Freeze for BuildDispatchError
where *const dyn IsBuildBackendError is !null: Freeze, PhantomData<dyn IsBuildBackendError>: Freeze, *const () is !null: Freeze, PhantomData<ErrorData<CustomOwner>>: Freeze, *const u8 is !null: Freeze, PhantomData<u8>: Freeze, *const ArcInner<str> is !null: Freeze, PhantomData<ArcInner<str>>: Freeze, PhantomData<String>: Freeze, &'static str: Freeze, &'static [&'static str]: Freeze, *const str is !null: Freeze, PhantomData<str>: Freeze, *const ErrorKind is !null: Freeze, PhantomData<ErrorKind>: Freeze, *const ErrorImpl is !null: Freeze, PhantomData<ErrorImpl>: Freeze, *const dyn Any + Send is !null: Freeze, PhantomData<dyn Any + Send>: Freeze, NonZero<u64>: Freeze, *const ResolveError is !null: Freeze, PhantomData<ResolveError>: Freeze, *const ThinInner is !null: Freeze, NonZero<u8>: Freeze, *const ArcInner<VersionFull> is !null: Freeze, PhantomData<ArcInner<VersionFull>>: Freeze, PhantomData<DerivationStep>: Freeze, *const ErrorKind is !null: Freeze, PhantomData<ErrorKind>: Freeze, *const WheelFilename is !null: Freeze, PhantomData<WheelFilename>: Freeze, String: Freeze, *const LeafNode<VariantNamespace, BTreeMap<VariantFeature, Vec<VariantValue>>> is !null: Freeze, PhantomData<(Owned, LeafOrInternal)>: Freeze, PhantomData<Box<(VariantNamespace, BTreeMap<VariantFeature, Vec<VariantValue>>)>>: Freeze, PhantomData<Unserializable>: Freeze, *const ErrorImpl is !null: Freeze, *const Inner is !null: Freeze, PhantomData<Inner>: Freeze, *const WrappedReqwestErrorContext is !null: Freeze, PhantomData<WrappedReqwestErrorContext>: Freeze, *const Error is !null: Freeze, PhantomData<Error>: Freeze, PhantomData<Error>: Freeze, *const Error is !null: Freeze, *const ErrorKind is !null: Freeze, PhantomData<ErrorKind>: Freeze, *const WheelTagLarge is !null: Freeze, PhantomData<WheelTagLarge>: Freeze, *const Platform is !null: Freeze, PhantomData<Platform>: Freeze, *const VersionSpecifiersParseErrorInner is !null: Freeze, PhantomData<VersionSpecifiersParseErrorInner>: Freeze, *const Pep508Error<VerbatimParsedUrl> is !null: Freeze, PhantomData<Pep508Error<VerbatimParsedUrl>>: Freeze, *const Error is !null: Freeze, PhantomData<Error>: Freeze, *const InstalledDist is !null: Freeze, PhantomData<InstalledDist>: Freeze, *const MetadataError is !null: Freeze, PhantomData<MetadataError>: Freeze, PhantomData<PathBuf>: Freeze, PhantomData<OsString>: Freeze, *const ArcInner<WorkspaceErrorKind> is !null: Freeze, PhantomData<ArcInner<WorkspaceErrorKind>>: Freeze, PhantomData<GroupName>: Freeze, *const LeafNode<String, String> is !null: Freeze, PhantomData<Box<(String, String)>>: Freeze, *const LoweringError is !null: Freeze, PhantomData<LoweringError>: Freeze, *const [VersionSpecifier] is !null: Freeze, PhantomData<[VersionSpecifier]>: Freeze, PhantomData<ParsedUrl>: Freeze, *const ArcInner<MarkerEnvironmentInner> is !null: Freeze, PhantomData<ArcInner<MarkerEnvironmentInner>>: Freeze, *const ArcInner<[MarkerTree]> is !null: Freeze, PhantomData<ArcInner<[MarkerTree]>>: Freeze, *const ArcInner<HashSet<ConflictItem, FxBuildHasher>> is !null: Freeze, PhantomData<ArcInner<HashSet<ConflictItem, FxBuildHasher>>>: Freeze, PhantomData<IndexUrl>: Freeze, *const RequestedDist is !null: Freeze, PhantomData<RequestedDist>: Freeze, *const ArcInner<Error> is !null: Freeze, PhantomData<ArcInner<Error>>: Freeze, *const NoSolutionError is !null: Freeze, PhantomData<NoSolutionError>: Freeze, *const BuildErrorKind is !null: Freeze, PhantomData<BuildErrorKind>: Freeze, PhantomData<Requirement>: Freeze, *const Dist is !null: Freeze, PhantomData<Dist>: Freeze, *const Error is !null: Freeze, PhantomData<Error>: Freeze, *const Path is !null: Freeze, PhantomData<Path>: Freeze, *const CachedDist is !null: Freeze, PhantomData<CachedDist>: Freeze, *const IncompatibleWheelError is !null: Freeze, PhantomData<IncompatibleWheelError>: Freeze, *const FlatIndexError is !null: Freeze, PhantomData<FlatIndexError>: Freeze,

§

impl Move for BuildDispatchError

§

impl Send for BuildDispatchError
where BoxRaw<dyn IsBuildBackendError>: Send, Repr: Send, RawVecInner: Send, Arc<str>: Send, &'static str: Send, &'static [&'static str]: Send, BoxRaw<str>: Send, BoxRaw<ErrorKind>: Send, BoxRaw<ErrorImpl>: Send, SyncWrapper<Box<dyn Any + Send>>: Send, NonZero<u64>: Send, BoxRaw<ResolveError>: Send, ArcStr: Send, NonZero<u8>: Send, Arc<VersionFull>: Send, SmallVec<[(Bound<Version>, Bound<Version>); 1]>: Send, BoxRaw<ErrorKind>: Send, BoxRaw<WheelFilename>: Send, String: Send, NodeRef<Owned, VariantNamespace, BTreeMap<VariantFeature, Vec<VariantValue>>, LeafOrInternal>: Send, BoxRaw<(VariantNamespace, BTreeMap<VariantFeature, Vec<VariantValue>>)>: Send, Own<ErrorImpl>: Send, BoxRaw<Inner>: Send, BoxRaw<WrappedReqwestErrorContext>: Send, BoxRaw<Error>: Send, BoxRaw<Error>: Send, BoxRaw<ErrorKind>: Send, BoxRaw<WheelTagLarge>: Send, BoxRaw<Platform>: Send, BoxRaw<VersionSpecifiersParseErrorInner>: Send, BoxRaw<Pep508Error<VerbatimParsedUrl>>: Send, BoxRaw<Error>: Send, BoxRaw<InstalledDist>: Send, BoxRaw<MetadataError>: Send, Arc<WorkspaceErrorKind>: Send, NodeRef<Owned, String, String, LeafOrInternal>: Send, BoxRaw<(String, String)>: Send, BoxRaw<LoweringError>: Send, BoxRaw<[VersionSpecifier]>: Send, BoxRaw<Path>: Send, Arc<GitUrlInner>: Send, Arc<MarkerEnvironmentInner>: Send, Arc<[MarkerTree]>: Send, Arc<HashSet<ConflictItem, FxBuildHasher>>: Send, Arc<VerbatimUrl<Stripped>>: Send, BoxRaw<RequestedDist>: Send, Arc<Error>: Send, BoxRaw<NoSolutionError>: Send, BoxRaw<BuildErrorKind>: Send, BoxRaw<[ExtraName]>: Send, BoxRaw<[GroupName]>: Send, BoxRaw<Dist>: Send, BoxRaw<Error>: Send, BoxRaw<CachedDist>: Send, BoxRaw<IncompatibleWheelError>: Send, BoxRaw<FlatIndexError>: Send,

§

impl Sync for BuildDispatchError
where BoxRaw<dyn IsBuildBackendError>: Sync, Repr: Sync, RawVecInner: Sync, Arc<str>: Sync, BoxRaw<str>: Sync, BoxRaw<ErrorKind>: Sync, BoxRaw<ErrorImpl>: Sync, SyncWrapper<Box<dyn Any + Send>>: Sync, NonZero<u64>: Sync, BoxRaw<ResolveError>: Sync, ArcStr: Sync, NonZero<u8>: Sync, Arc<VersionFull>: Sync, SmallVecData<[(Bound<Version>, Bound<Version>); 1]>: Sync, (Bound<Version>, Bound<Version>): Sync, BoxRaw<ErrorKind>: Sync, BoxRaw<WheelFilename>: Sync, String: Sync, NodeRef<Owned, VariantNamespace, BTreeMap<VariantFeature, Vec<VariantValue>>, LeafOrInternal>: Sync, BoxRaw<(VariantNamespace, BTreeMap<VariantFeature, Vec<VariantValue>>)>: Sync, Own<ErrorImpl>: Sync, BoxRaw<Inner>: Sync, BoxRaw<WrappedReqwestErrorContext>: Sync, BoxRaw<Error>: Sync, BoxRaw<Error>: Sync, BoxRaw<ErrorKind>: Sync, BoxRaw<WheelTagLarge>: Sync, BoxRaw<Platform>: Sync, BoxRaw<VersionSpecifiersParseErrorInner>: Sync, BoxRaw<Pep508Error<VerbatimParsedUrl>>: Sync, BoxRaw<Error>: Sync, BoxRaw<InstalledDist>: Sync, BoxRaw<MetadataError>: Sync, Arc<WorkspaceErrorKind>: Sync, NodeRef<Owned, String, String, LeafOrInternal>: Sync, BoxRaw<(String, String)>: Sync, BoxRaw<LoweringError>: Sync, BoxRaw<[VersionSpecifier]>: Sync, BoxRaw<Path>: Sync, Arc<GitUrlInner>: Sync, Arc<MarkerEnvironmentInner>: Sync, Arc<[MarkerTree]>: Sync, Arc<HashSet<ConflictItem, FxBuildHasher>>: Sync, Arc<VerbatimUrl<Stripped>>: Sync, BoxRaw<RequestedDist>: Sync, Arc<Error>: Sync, BoxRaw<NoSolutionError>: Sync, BoxRaw<BuildErrorKind>: Sync, BoxRaw<[ExtraName]>: Sync, BoxRaw<[GroupName]>: Sync, BoxRaw<Dist>: Sync, BoxRaw<Error>: Sync, BoxRaw<CachedDist>: Sync, BoxRaw<IncompatibleWheelError>: Sync, BoxRaw<FlatIndexError>: Sync,

§

impl Unpin for BuildDispatchError
where Box<dyn IsBuildBackendError>: Unpin, *const () is !null: Unpin, &'static SimpleMessage: Unpin, *const Custom is !null: Unpin, *const u8 is !null: Unpin, Arc<str>: Unpin, &'static str: Unpin, &'static [&'static str]: Unpin, Box<str>: Unpin, Box<ErrorKind>: Unpin, Box<ErrorImpl>: Unpin, Box<dyn Any + Send>: Unpin, NonZero<u64>: Unpin, Box<ResolveError>: Unpin, *const ThinInner is !null: Unpin, NonZero<u8>: Unpin, Arc<VersionFull>: Unpin, *const (Bound<Version>, Bound<Version>) is !null: Unpin, (Bound<Version>, Bound<Version>): Unpin, Box<ErrorKind>: Unpin, Box<WheelFilename>: Unpin, String: Unpin, *const LeafNode<VariantNamespace, BTreeMap<VariantFeature, Vec<VariantValue>>> is !null: Unpin, Box<(VariantNamespace, BTreeMap<VariantFeature, Vec<VariantValue>>)>: Unpin, *const ErrorImpl is !null: Unpin, Box<Inner>: Unpin, Box<WrappedReqwestErrorContext>: Unpin, Box<Error>: Unpin, Box<Error>: Unpin, Box<ErrorKind>: Unpin, Box<WheelTagLarge>: Unpin, Box<Platform>: Unpin, Box<VersionSpecifiersParseErrorInner>: Unpin, Box<Pep508Error<VerbatimParsedUrl>>: Unpin, Box<Error>: Unpin, Box<InstalledDist>: Unpin, Box<MetadataError>: Unpin, Arc<WorkspaceErrorKind>: Unpin, *const LeafNode<String, String> is !null: Unpin, Box<(String, String)>: Unpin, Box<LoweringError>: Unpin, Box<[VersionSpecifier]>: Unpin, Box<Path>: Unpin, Arc<GitUrlInner>: Unpin, Arc<MarkerEnvironmentInner>: Unpin, Arc<[MarkerTree]>: Unpin, Arc<HashSet<ConflictItem, FxBuildHasher>>: Unpin, Arc<VerbatimUrl<Stripped>>: Unpin, Box<RequestedDist>: Unpin, Arc<Error>: Unpin, Box<NoSolutionError>: Unpin, Box<BuildErrorKind>: Unpin, Box<[ExtraName]>: Unpin, Box<[GroupName]>: Unpin, Box<Dist>: Unpin, Box<Error>: Unpin, Box<CachedDist>: Unpin, Box<IncompatibleWheelError>: Unpin, Box<FlatIndexError>: Unpin,

§

impl UnsafeUnpin for BuildDispatchError
where *const dyn IsBuildBackendError is !null: UnsafeUnpin, PhantomData<dyn IsBuildBackendError>: UnsafeUnpin, *const () is !null: UnsafeUnpin, PhantomData<ErrorData<CustomOwner>>: UnsafeUnpin, *const u8 is !null: UnsafeUnpin, PhantomData<u8>: UnsafeUnpin, *const ArcInner<str> is !null: UnsafeUnpin, PhantomData<ArcInner<str>>: UnsafeUnpin, PhantomData<String>: UnsafeUnpin, &'static str: UnsafeUnpin, &'static [&'static str]: UnsafeUnpin, *const str is !null: UnsafeUnpin, PhantomData<str>: UnsafeUnpin, *const ErrorKind is !null: UnsafeUnpin, PhantomData<ErrorKind>: UnsafeUnpin, *const ErrorImpl is !null: UnsafeUnpin, PhantomData<ErrorImpl>: UnsafeUnpin, *const dyn Any + Send is !null: UnsafeUnpin, PhantomData<dyn Any + Send>: UnsafeUnpin, NonZeroU64Inner: UnsafeUnpin, *const ResolveError is !null: UnsafeUnpin, PhantomData<ResolveError>: UnsafeUnpin, *const ThinInner is !null: UnsafeUnpin, NonZeroU8Inner: UnsafeUnpin, *const ArcInner<VersionFull> is !null: UnsafeUnpin, PhantomData<ArcInner<VersionFull>>: UnsafeUnpin, PhantomData<DerivationStep>: UnsafeUnpin, *const ErrorKind is !null: UnsafeUnpin, PhantomData<ErrorKind>: UnsafeUnpin, *const WheelFilename is !null: UnsafeUnpin, PhantomData<WheelFilename>: UnsafeUnpin, String: UnsafeUnpin, *const LeafNode<VariantNamespace, BTreeMap<VariantFeature, Vec<VariantValue>>> is !null: UnsafeUnpin, PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin, PhantomData<Box<(VariantNamespace, BTreeMap<VariantFeature, Vec<VariantValue>>)>>: UnsafeUnpin, PhantomData<Unserializable>: UnsafeUnpin, *const ErrorImpl is !null: UnsafeUnpin, *const Inner is !null: UnsafeUnpin, PhantomData<Inner>: UnsafeUnpin, *const WrappedReqwestErrorContext is !null: UnsafeUnpin, PhantomData<WrappedReqwestErrorContext>: UnsafeUnpin, *const Error is !null: UnsafeUnpin, PhantomData<Error>: UnsafeUnpin, PhantomData<Error>: UnsafeUnpin, *const Error is !null: UnsafeUnpin, *const ErrorKind is !null: UnsafeUnpin, PhantomData<ErrorKind>: UnsafeUnpin, *const WheelTagLarge is !null: UnsafeUnpin, PhantomData<WheelTagLarge>: UnsafeUnpin, *const Platform is !null: UnsafeUnpin, PhantomData<Platform>: UnsafeUnpin, *const VersionSpecifiersParseErrorInner is !null: UnsafeUnpin, PhantomData<VersionSpecifiersParseErrorInner>: UnsafeUnpin, *const Pep508Error<VerbatimParsedUrl> is !null: UnsafeUnpin, PhantomData<Pep508Error<VerbatimParsedUrl>>: UnsafeUnpin, *const Error is !null: UnsafeUnpin, PhantomData<Error>: UnsafeUnpin, *const InstalledDist is !null: UnsafeUnpin, PhantomData<InstalledDist>: UnsafeUnpin, *const MetadataError is !null: UnsafeUnpin, PhantomData<MetadataError>: UnsafeUnpin, PhantomData<PathBuf>: UnsafeUnpin, PhantomData<OsString>: UnsafeUnpin, *const ArcInner<WorkspaceErrorKind> is !null: UnsafeUnpin, PhantomData<ArcInner<WorkspaceErrorKind>>: UnsafeUnpin, PhantomData<GroupName>: UnsafeUnpin, *const LeafNode<String, String> is !null: UnsafeUnpin, PhantomData<Box<(String, String)>>: UnsafeUnpin, *const LoweringError is !null: UnsafeUnpin, PhantomData<LoweringError>: UnsafeUnpin, *const [VersionSpecifier] is !null: UnsafeUnpin, PhantomData<[VersionSpecifier]>: UnsafeUnpin, PhantomData<ParsedUrl>: UnsafeUnpin, *const ArcInner<MarkerEnvironmentInner> is !null: UnsafeUnpin, PhantomData<ArcInner<MarkerEnvironmentInner>>: UnsafeUnpin, *const ArcInner<[MarkerTree]> is !null: UnsafeUnpin, PhantomData<ArcInner<[MarkerTree]>>: UnsafeUnpin, *const ArcInner<HashSet<ConflictItem, FxBuildHasher>> is !null: UnsafeUnpin, PhantomData<ArcInner<HashSet<ConflictItem, FxBuildHasher>>>: UnsafeUnpin, PhantomData<IndexUrl>: UnsafeUnpin, *const RequestedDist is !null: UnsafeUnpin, PhantomData<RequestedDist>: UnsafeUnpin, *const ArcInner<Error> is !null: UnsafeUnpin, PhantomData<ArcInner<Error>>: UnsafeUnpin, *const NoSolutionError is !null: UnsafeUnpin, PhantomData<NoSolutionError>: UnsafeUnpin, *const BuildErrorKind is !null: UnsafeUnpin, PhantomData<BuildErrorKind>: UnsafeUnpin, PhantomData<Requirement>: UnsafeUnpin, *const Dist is !null: UnsafeUnpin, PhantomData<Dist>: UnsafeUnpin, *const Error is !null: UnsafeUnpin, PhantomData<Error>: UnsafeUnpin, *const Path is !null: UnsafeUnpin, PhantomData<Path>: UnsafeUnpin, *const CachedDist is !null: UnsafeUnpin, PhantomData<CachedDist>: UnsafeUnpin, *const IncompatibleWheelError is !null: UnsafeUnpin, PhantomData<IncompatibleWheelError>: UnsafeUnpin, *const FlatIndexError is !null: UnsafeUnpin, PhantomData<FlatIndexError>: UnsafeUnpin,

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> ArchivePointee for T

Source§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
Source§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
Source§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

Source§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

Source§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

Source§

fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> LayoutRaw for T

Source§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
Source§

impl<T> MaybeSend for T
where T: Send,

Source§

impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
where T: SharedNiching<N1, N2>, N1: Niching<T>, N2: Niching<T>,

Source§

unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool

Returns whether the given value has been niched. Read more
Source§

fn resolve_niched(out: Place<NichedOption<T, N1>>)

Writes data to out indicating that a T is niched.
Source§

impl<D> OwoColorize for D

Source§

fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>
where C: Color,

Set the foreground color generically Read more
Source§

fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>
where C: Color,

Set the background color generically. Read more
Source§

fn black(&self) -> FgColorDisplay<'_, Black, Self>

Change the foreground color to black
Source§

fn on_black(&self) -> BgColorDisplay<'_, Black, Self>

Change the background color to black
Source§

fn red(&self) -> FgColorDisplay<'_, Red, Self>

Change the foreground color to red
Source§

fn on_red(&self) -> BgColorDisplay<'_, Red, Self>

Change the background color to red
Source§

fn green(&self) -> FgColorDisplay<'_, Green, Self>

Change the foreground color to green
Source§

fn on_green(&self) -> BgColorDisplay<'_, Green, Self>

Change the background color to green
Source§

fn yellow(&self) -> FgColorDisplay<'_, Yellow, Self>

Change the foreground color to yellow
Source§

fn on_yellow(&self) -> BgColorDisplay<'_, Yellow, Self>

Change the background color to yellow
Source§

fn blue(&self) -> FgColorDisplay<'_, Blue, Self>

Change the foreground color to blue
Source§

fn on_blue(&self) -> BgColorDisplay<'_, Blue, Self>

Change the background color to blue
Source§

fn magenta(&self) -> FgColorDisplay<'_, Magenta, Self>

Change the foreground color to magenta
Source§

fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>

Change the background color to magenta
Source§

fn purple(&self) -> FgColorDisplay<'_, Magenta, Self>

Change the foreground color to purple
Source§

fn on_purple(&self) -> BgColorDisplay<'_, Magenta, Self>

Change the background color to purple
Source§

fn cyan(&self) -> FgColorDisplay<'_, Cyan, Self>

Change the foreground color to cyan
Source§

fn on_cyan(&self) -> BgColorDisplay<'_, Cyan, Self>

Change the background color to cyan
Source§

fn white(&self) -> FgColorDisplay<'_, White, Self>

Change the foreground color to white
Source§

fn on_white(&self) -> BgColorDisplay<'_, White, Self>

Change the background color to white
Source§

fn default_color(&self) -> FgColorDisplay<'_, Default, Self>

Change the foreground color to the terminal default
Source§

fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>

Change the background color to the terminal default
Source§

fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>

Change the foreground color to bright black
Source§

fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>

Change the background color to bright black
Source§

fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>

Change the foreground color to bright red
Source§

fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>

Change the background color to bright red
Source§

fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>

Change the foreground color to bright green
Source§

fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>

Change the background color to bright green
Source§

fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>

Change the foreground color to bright yellow
Source§

fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>

Change the background color to bright yellow
Source§

fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>

Change the foreground color to bright blue
Source§

fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>

Change the background color to bright blue
Source§

fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>

Change the foreground color to bright magenta
Source§

fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>

Change the background color to bright magenta
Source§

fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>

Change the foreground color to bright purple
Source§

fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>

Change the background color to bright purple
Source§

fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>

Change the foreground color to bright cyan
Source§

fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>

Change the background color to bright cyan
Source§

fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>

Change the foreground color to bright white
Source§

fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>

Change the background color to bright white
Source§

fn bold(&self) -> BoldDisplay<'_, Self>

Make the text bold
Source§

fn dimmed(&self) -> DimDisplay<'_, Self>

Make the text dim
Source§

fn italic(&self) -> ItalicDisplay<'_, Self>

Make the text italicized
Source§

fn underline(&self) -> UnderlineDisplay<'_, Self>

Make the text underlined
Make the text blink
Make the text blink (but fast!)
Source§

fn reversed(&self) -> ReversedDisplay<'_, Self>

Swap the foreground and background colors
Source§

fn hidden(&self) -> HiddenDisplay<'_, Self>

Hide the text
Source§

fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>

Cross out the text
Source§

fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>
where Color: DynColor,

Set the foreground color at runtime. Only use if you do not know which color will be used at compile-time. If the color is constant, use either OwoColorize::fg or a color-specific method, such as OwoColorize::green, Read more
Source§

fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>
where Color: DynColor,

Set the background color at runtime. Only use if you do not know what color to use at compile-time. If the color is constant, use either OwoColorize::bg or a color-specific method, such as OwoColorize::on_yellow, Read more
Source§

fn fg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>

Set the foreground color to a specific RGB value.
Source§

fn bg_rgb<const R: u8, const G: u8, const B: u8>( &self, ) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>

Set the background color to a specific RGB value.
Source§

fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>

Sets the foreground color to an RGB value.
Source§

fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>

Sets the background color to an RGB value.
Source§

fn style(&self, style: Style) -> Styled<&Self>

Apply a runtime-determined style
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> Pointee for T

Source§

type Metadata = ()

The metadata type for pointers and references to this type.
Source§

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

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T> ToStringFallible for T
where T: Display,

Source§

fn try_to_string(&self) -> Result<String, TryReserveError>

ToString::to_string, but without panic on OOM.

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.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more