Struct cudaDeviceAttr

Source
#[repr(transparent)]
pub struct cudaDeviceAttr(pub c_uint);
Expand description

CUDA device attributes

Tuple Fields§

§0: c_uint

Implementations§

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxThreadsPerBlock: cudaDeviceAttr

< Maximum number of threads per block

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxBlockDimX: cudaDeviceAttr

< Maximum block dimension X

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxBlockDimY: cudaDeviceAttr

< Maximum block dimension Y

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxBlockDimZ: cudaDeviceAttr

< Maximum block dimension Z

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxGridDimX: cudaDeviceAttr

< Maximum grid dimension X

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxGridDimY: cudaDeviceAttr

< Maximum grid dimension Y

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxGridDimZ: cudaDeviceAttr

< Maximum grid dimension Z

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxSharedMemoryPerBlock: cudaDeviceAttr

< Maximum shared memory available per block in bytes

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrTotalConstantMemory: cudaDeviceAttr

< Memory available on device for constant variables in a CUDA C kernel in bytes

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrWarpSize: cudaDeviceAttr

< Warp size in threads

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxPitch: cudaDeviceAttr

< Maximum pitch in bytes allowed by memory copies

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxRegistersPerBlock: cudaDeviceAttr

< Maximum number of 32-bit registers available per block

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrClockRate: cudaDeviceAttr

< Peak clock frequency in kilohertz

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrTextureAlignment: cudaDeviceAttr

< Alignment requirement for textures

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrGpuOverlap: cudaDeviceAttr

< Device can possibly copy memory and execute a kernel concurrently

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMultiProcessorCount: cudaDeviceAttr

< Number of multiprocessors on device

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrKernelExecTimeout: cudaDeviceAttr

< Specifies whether there is a run time limit on kernels

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrIntegrated: cudaDeviceAttr

< Device is integrated with host memory

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrCanMapHostMemory: cudaDeviceAttr

< Device can map host memory into CUDA address space

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrComputeMode: cudaDeviceAttr

< Compute mode (See ::cudaComputeMode for details)

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture1DWidth: cudaDeviceAttr

< Maximum 1D texture width

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture2DWidth: cudaDeviceAttr

< Maximum 2D texture width

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture2DHeight: cudaDeviceAttr

< Maximum 2D texture height

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture3DWidth: cudaDeviceAttr

< Maximum 3D texture width

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture3DHeight: cudaDeviceAttr

< Maximum 3D texture height

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture3DDepth: cudaDeviceAttr

< Maximum 3D texture depth

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture2DLayeredWidth: cudaDeviceAttr

< Maximum 2D layered texture width

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture2DLayeredHeight: cudaDeviceAttr

< Maximum 2D layered texture height

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture2DLayeredLayers: cudaDeviceAttr

< Maximum layers in a 2D layered texture

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrSurfaceAlignment: cudaDeviceAttr

< Alignment requirement for surfaces

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrConcurrentKernels: cudaDeviceAttr

< Device can possibly execute multiple kernels concurrently

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrEccEnabled: cudaDeviceAttr

< Device has ECC support enabled

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrPciBusId: cudaDeviceAttr

< PCI bus ID of the device

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrPciDeviceId: cudaDeviceAttr

< PCI device ID of the device

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrTccDriver: cudaDeviceAttr

< Device is using TCC driver model

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMemoryClockRate: cudaDeviceAttr

< Peak memory clock frequency in kilohertz

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrGlobalMemoryBusWidth: cudaDeviceAttr

< Global memory bus width in bits

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrL2CacheSize: cudaDeviceAttr

< Size of L2 cache in bytes

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxThreadsPerMultiProcessor: cudaDeviceAttr

< Maximum resident threads per multiprocessor

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrAsyncEngineCount: cudaDeviceAttr

< Number of asynchronous engines

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrUnifiedAddressing: cudaDeviceAttr

< Device shares a unified address space with the host

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture1DLayeredWidth: cudaDeviceAttr

< Maximum 1D layered texture width

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture1DLayeredLayers: cudaDeviceAttr

< Maximum layers in a 1D layered texture

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture2DGatherWidth: cudaDeviceAttr

< Maximum 2D texture width if cudaArrayTextureGather is set

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture2DGatherHeight: cudaDeviceAttr

< Maximum 2D texture height if cudaArrayTextureGather is set

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture3DWidthAlt: cudaDeviceAttr

< Alternate maximum 3D texture width

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture3DHeightAlt: cudaDeviceAttr

< Alternate maximum 3D texture height

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture3DDepthAlt: cudaDeviceAttr

< Alternate maximum 3D texture depth

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrPciDomainId: cudaDeviceAttr

< PCI domain ID of the device

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrTexturePitchAlignment: cudaDeviceAttr

< Pitch alignment requirement for textures

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTextureCubemapWidth: cudaDeviceAttr

< Maximum cubemap texture width/height

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTextureCubemapLayeredWidth: cudaDeviceAttr

< Maximum cubemap layered texture width/height

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTextureCubemapLayeredLayers: cudaDeviceAttr

< Maximum layers in a cubemap layered texture

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxSurface1DWidth: cudaDeviceAttr

< Maximum 1D surface width

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxSurface2DWidth: cudaDeviceAttr

< Maximum 2D surface width

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxSurface2DHeight: cudaDeviceAttr

< Maximum 2D surface height

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxSurface3DWidth: cudaDeviceAttr

< Maximum 3D surface width

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxSurface3DHeight: cudaDeviceAttr

< Maximum 3D surface height

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxSurface3DDepth: cudaDeviceAttr

< Maximum 3D surface depth

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxSurface1DLayeredWidth: cudaDeviceAttr

< Maximum 1D layered surface width

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxSurface1DLayeredLayers: cudaDeviceAttr

< Maximum layers in a 1D layered surface

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxSurface2DLayeredWidth: cudaDeviceAttr

< Maximum 2D layered surface width

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxSurface2DLayeredHeight: cudaDeviceAttr

< Maximum 2D layered surface height

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxSurface2DLayeredLayers: cudaDeviceAttr

< Maximum layers in a 2D layered surface

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxSurfaceCubemapWidth: cudaDeviceAttr

< Maximum cubemap surface width

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxSurfaceCubemapLayeredWidth: cudaDeviceAttr

< Maximum cubemap layered surface width

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxSurfaceCubemapLayeredLayers: cudaDeviceAttr

< Maximum layers in a cubemap layered surface

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture1DLinearWidth: cudaDeviceAttr

< Maximum 1D linear texture width

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture2DLinearWidth: cudaDeviceAttr

< Maximum 2D linear texture width

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture2DLinearHeight: cudaDeviceAttr

< Maximum 2D linear texture height

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture2DLinearPitch: cudaDeviceAttr

< Maximum 2D linear texture pitch in bytes

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture2DMipmappedWidth: cudaDeviceAttr

< Maximum mipmapped 2D texture width

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture2DMipmappedHeight: cudaDeviceAttr

< Maximum mipmapped 2D texture height

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrComputeCapabilityMajor: cudaDeviceAttr

< Major compute capability version number

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrComputeCapabilityMinor: cudaDeviceAttr

< Minor compute capability version number

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTexture1DMipmappedWidth: cudaDeviceAttr

< Maximum mipmapped 1D texture width

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrStreamPrioritiesSupported: cudaDeviceAttr

< Device supports stream priorities

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrGlobalL1CacheSupported: cudaDeviceAttr

< Device supports caching globals in L1

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrLocalL1CacheSupported: cudaDeviceAttr

< Device supports caching locals in L1

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxSharedMemoryPerMultiprocessor: cudaDeviceAttr

< Maximum shared memory available per multiprocessor in bytes

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxRegistersPerMultiprocessor: cudaDeviceAttr

< Maximum number of 32-bit registers available per multiprocessor

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrManagedMemory: cudaDeviceAttr

< Device can allocate managed memory on this system

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrIsMultiGpuBoard: cudaDeviceAttr

< Device is on a multi-GPU board

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMultiGpuBoardGroupID: cudaDeviceAttr

< Unique identifier for a group of devices on the same multi-GPU board

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrHostNativeAtomicSupported: cudaDeviceAttr

< Link between the device and the host supports native atomic operations

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrSingleToDoublePrecisionPerfRatio: cudaDeviceAttr

< Ratio of single precision performance (in floating-point operations per second) to double precision performance

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrPageableMemoryAccess: cudaDeviceAttr

< Device supports coherently accessing pageable memory without calling cudaHostRegister on it

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrConcurrentManagedAccess: cudaDeviceAttr

< Device can coherently access managed memory concurrently with the CPU

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrComputePreemptionSupported: cudaDeviceAttr

< Device supports Compute Preemption

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrCanUseHostPointerForRegisteredMem: cudaDeviceAttr

< Device can access host registered memory at the same virtual address as the CPU

Source§

impl cudaDeviceAttr

Source§

impl cudaDeviceAttr

Source§

impl cudaDeviceAttr

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrCooperativeLaunch: cudaDeviceAttr

< Device supports launching cooperative kernels via ::cudaLaunchCooperativeKernel

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrCooperativeMultiDeviceLaunch: cudaDeviceAttr

< Deprecated, cudaLaunchCooperativeKernelMultiDevice is deprecated.

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxSharedMemoryPerBlockOptin: cudaDeviceAttr

< The maximum optin shared memory per block. This value may vary by chip. See ::cudaFuncSetAttribute

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrCanFlushRemoteWrites: cudaDeviceAttr

< Device supports flushing of outstanding remote writes.

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrHostRegisterSupported: cudaDeviceAttr

< Device supports host memory registration via ::cudaHostRegister.

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrPageableMemoryAccessUsesHostPageTables: cudaDeviceAttr

< Device accesses pageable memory via the host’s page tables.

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrDirectManagedMemAccessFromHost: cudaDeviceAttr

< Host can directly access managed memory on the device without migration.

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxBlocksPerMultiprocessor: cudaDeviceAttr

< Maximum number of blocks per multiprocessor

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxPersistingL2CacheSize: cudaDeviceAttr

< Maximum L2 persisting lines capacity setting in bytes.

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxAccessPolicyWindowSize: cudaDeviceAttr

< Maximum value of cudaAccessPolicyWindow::num_bytes.

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrReservedSharedMemoryPerBlock: cudaDeviceAttr

< Shared memory reserved by CUDA driver per block in bytes

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrSparseCudaArraySupported: cudaDeviceAttr

< Device supports sparse CUDA arrays and sparse CUDA mipmapped arrays

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrHostRegisterReadOnlySupported: cudaDeviceAttr

< Device supports using the ::cudaHostRegister flag cudaHostRegisterReadOnly to register memory that must be mapped as read-only to the GPU

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrTimelineSemaphoreInteropSupported: cudaDeviceAttr

< External timeline semaphore interop is supported on the device

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMaxTimelineSemaphoreInteropSupported: cudaDeviceAttr

< Deprecated, External timeline semaphore interop is supported on the device

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMemoryPoolsSupported: cudaDeviceAttr

< Device supports using the ::cudaMallocAsync and ::cudaMemPool family of APIs

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrGPUDirectRDMASupported: cudaDeviceAttr

< Device supports GPUDirect RDMA APIs, like nvidia_p2p_get_pages (see https://docs.nvidia.com/cuda/gpudirect-rdma for more information)

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrGPUDirectRDMAFlushWritesOptions: cudaDeviceAttr

< The returned attribute shall be interpreted as a bitmask, where the individual bits are listed in the ::cudaFlushGPUDirectRDMAWritesOptions enum

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrGPUDirectRDMAWritesOrdering: cudaDeviceAttr

< GPUDirect RDMA writes to the device do not need to be flushed for consumers within the scope indicated by the returned attribute. See ::cudaGPUDirectRDMAWritesOrdering for the numerical values returned here.

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMemoryPoolSupportedHandleTypes: cudaDeviceAttr

< Handle types supported with mempool based IPC

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrClusterLaunch: cudaDeviceAttr

< Indicates device supports cluster launch

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrDeferredMappingCudaArraySupported: cudaDeviceAttr

< Device supports deferred mapping CUDA arrays and CUDA mipmapped arrays

Source§

impl cudaDeviceAttr

Source§

impl cudaDeviceAttr

Source§

impl cudaDeviceAttr

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrIpcEventSupport: cudaDeviceAttr

< Device supports IPC Events.

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMemSyncDomainCount: cudaDeviceAttr

< Number of memory synchronization domains the device supports.

Source§

impl cudaDeviceAttr

Source§

impl cudaDeviceAttr

Source§

impl cudaDeviceAttr

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrNumaConfig: cudaDeviceAttr

< NUMA configuration of a device: value is of type ::cudaDeviceNumaConfig enum

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrNumaId: cudaDeviceAttr

< NUMA node ID of the GPU memory

Source§

impl cudaDeviceAttr

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrMpsEnabled: cudaDeviceAttr

< Contexts created on this device will be shared via MPS

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrHostNumaId: cudaDeviceAttr

< NUMA ID of the host node closest to the device. Returns -1 when system does not support NUMA.

Source§

impl cudaDeviceAttr

Source

pub const cudaDevAttrD3D12CigSupported: cudaDeviceAttr

< Device supports CIG with D3D12.

Source§

impl cudaDeviceAttr

Trait Implementations§

Source§

impl Clone for cudaDeviceAttr

Source§

fn clone(&self) -> cudaDeviceAttr

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for cudaDeviceAttr

Source§

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

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

impl Hash for cudaDeviceAttr

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for cudaDeviceAttr

Source§

fn eq(&self, other: &cudaDeviceAttr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for cudaDeviceAttr

Source§

impl Eq for cudaDeviceAttr

Source§

impl StructuralPartialEq for cudaDeviceAttr

Auto Trait Implementations§

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<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 = 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.