Home
last modified time | relevance | path

Searched refs:From (Results 1 – 21 of 21) sorted by relevance

/rust/kernel/alloc/kvec/
A Derrors.rs17 impl<T> From<PushError<T>> for Error { impls
34 impl From<RemoveError> for Error {
57 impl<T> From<InsertError<T>> for Error { impls
/rust/pin-init/examples/
A Derror.rs13 impl From<Infallible> for Error {
20 impl From<AllocError> for Error {
A Dpthread_mutex.rs51 impl From<Infallible> for Error {
58 impl From<AllocError> for Error {
/rust/pin-init/src/
A Dalloc.rs32 E: From<AllocError>; in try_pin_init()
52 E: From<AllocError>; in try_init()
84 E: From<AllocError>, in try_pin_init()
92 E: From<AllocError>, in try_init()
102 E: From<AllocError>, in try_pin_init()
120 E: From<AllocError>, in try_init()
/rust/kernel/
A Dinit.rs149 E: From<AllocError>; in try_pin_init()
157 Error: From<E>, in pin_init()
169 E: From<AllocError>; in try_init()
174 Error: From<E>, in init()
A Derror.rs199 impl From<AllocError> for Error {
205 impl From<TryFromIntError> for Error {
211 impl From<Utf8Error> for Error {
217 impl From<LayoutError> for Error {
223 impl From<fmt::Error> for Error {
229 impl From<core::convert::Infallible> for Error {
457 T: From<i16>, in from_result()
A Dcpu.rs118 impl From<CpuId> for u32 {
124 impl From<CpuId> for i32 {
A Ddevres.rs135 Error: From<E>, in new()
355 Error: From<E>, in register()
A Dclk.rs73 impl From<Hertz> for c_ulong {
A Dxarray.rs174 impl<T> From<StoreError<T>> for Error { impls
A Ddevice.rs414 impl ::core::convert::From<&$device<$src>> for $crate::types::ARef<$device> {
A Dopp.rs120 impl From<MicroVolt> for c_ulong {
145 impl From<MicroWatt> for c_ulong {
A Dcpufreq.rs103 impl From<Relation> for u32 {
187 impl From<TableIndex> for usize {
A Dstr.rs197 impl From<CStrConvertError> for Error {
/rust/kernel/sync/
A Darc.rs213 E: From<AllocError>, in try_pin_init()
221 E: From<AllocError>, in try_init()
494 impl<T: ?Sized> From<UniqueArc<T>> for Arc<T> { impls
500 impl<T: ?Sized> From<Pin<UniqueArc<T>>> for Arc<T> { impls
623 impl<T: ?Sized> From<ArcBorrow<'_, T>> for Arc<T> { impls
728 E: From<AllocError>, in try_pin_init()
736 E: From<AllocError>, in try_init()
840 impl<T: ?Sized> From<UniqueArc<T>> for Pin<UniqueArc<T>> { impls
A Daref.rs140 impl<T: AlwaysRefCounted> From<&T> for ARef<T> {
/rust/kernel/alloc/
A Dlayout.rs103 impl<T> From<ArrayLayout<T>> for Layout { impls
A Dkbox.rs339 impl<T, A> From<Box<T, A>> for Pin<Box<T, A>> impls
389 E: From<AllocError>, in try_pin_init()
397 E: From<AllocError>, in try_init()
A Dkvec.rs837 impl<T, A, const N: usize> From<Box<[T; N], A>> for Vec<T, A> impls
/rust/kernel/list/
A Darc.rs185 E: From<AllocError>, in pin_init()
196 E: From<AllocError>, in init()
202 impl<T, const ID: u64> From<UniqueArc<T>> for ListArc<T, ID> impls
213 impl<T, const ID: u64> From<Pin<UniqueArc<T>>> for ListArc<T, ID> impls
/rust/kernel/fs/
A Dfile.rs456 impl From<BadFdError> for Error {

Completed in 35 milliseconds