Searched refs:From (Results 1 – 21 of 21) sorted by relevance
| /rust/kernel/alloc/kvec/ |
| A D | errors.rs | 17 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 D | error.rs | 13 impl From<Infallible> for Error { 20 impl From<AllocError> for Error {
|
| A D | pthread_mutex.rs | 51 impl From<Infallible> for Error { 58 impl From<AllocError> for Error {
|
| /rust/pin-init/src/ |
| A D | alloc.rs | 32 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 D | init.rs | 149 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 D | error.rs | 199 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 D | cpu.rs | 118 impl From<CpuId> for u32 { 124 impl From<CpuId> for i32 {
|
| A D | devres.rs | 135 Error: From<E>, in new() 355 Error: From<E>, in register()
|
| A D | clk.rs | 73 impl From<Hertz> for c_ulong {
|
| A D | xarray.rs | 174 impl<T> From<StoreError<T>> for Error { impls
|
| A D | device.rs | 414 impl ::core::convert::From<&$device<$src>> for $crate::types::ARef<$device> {
|
| A D | opp.rs | 120 impl From<MicroVolt> for c_ulong { 145 impl From<MicroWatt> for c_ulong {
|
| A D | cpufreq.rs | 103 impl From<Relation> for u32 { 187 impl From<TableIndex> for usize {
|
| A D | str.rs | 197 impl From<CStrConvertError> for Error {
|
| /rust/kernel/sync/ |
| A D | arc.rs | 213 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 D | aref.rs | 140 impl<T: AlwaysRefCounted> From<&T> for ARef<T> {
|
| /rust/kernel/alloc/ |
| A D | layout.rs | 103 impl<T> From<ArrayLayout<T>> for Layout { impls
|
| A D | kbox.rs | 339 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 D | kvec.rs | 837 impl<T, A, const N: usize> From<Box<[T; N], A>> for Vec<T, A> impls
|
| /rust/kernel/list/ |
| A D | arc.rs | 185 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 D | file.rs | 456 impl From<BadFdError> for Error {
|
Completed in 35 milliseconds