/rust/kernel/ |
A D | error.rs | 99 pub struct Error(NonZeroI32); struct 101 impl Error { impls 184 impl fmt::Debug for Error { implementation 199 impl From<AllocError> for Error { implementation 200 fn from(_: AllocError) -> Error { in from() 205 impl From<TryFromIntError> for Error { implementation 211 impl From<Utf8Error> for Error { implementation 212 fn from(_: Utf8Error) -> Error { in from() 217 impl From<LayoutError> for Error { implementation 223 impl From<fmt::Error> for Error { implementation [all …]
|
A D | configfs.rs | 151 data: impl PinInit<Data, Error>, in new() argument 261 data: impl PinInit<Data, Error>, in new() argument 502 fn make_group(&self, name: &CStr) -> Result<impl PinInit<Group<Self::Child>, Error>>; in make_group() argument
|
A D | regulator.rs | 78 pub struct Error<State: RegulatorState> { struct 80 pub error: kernel::error::Error, argument 83 pub regulator: Regulator<State>,
|
A D | platform.rs | 319 type Error = kernel::error::Error; typedef 321 fn try_from(dev: &device::Device<Ctx>) -> Result<Self, Self::Error> { in try_from() argument
|
A D | driver.rs | 73 pub fn new(name: &'static CStr, module: &'static ThisModule) -> impl PinInit<Self, Error> { in new() argument
|
A D | lib.rs | 159 fn init(module: &'static ThisModule) -> impl pin_init::PinInit<Self, error::Error>; in init() 163 fn init(module: &'static ThisModule) -> impl pin_init::PinInit<Self, error::Error> { in init()
|
A D | str.rs | 197 impl From<CStrConvertError> for Error { implementation 199 fn from(_: CStrConvertError) -> Error { in from() 894 pub fn try_from_fmt(args: fmt::Arguments<'_>) -> Result<Self, Error> { in try_from_fmt() argument 946 type Error = AllocError; typedef
|
A D | pci.rs | 482 type Error = kernel::error::Error; typedef 484 fn try_from(dev: &device::Device<Ctx>) -> Result<Self, Self::Error> { in try_from() argument
|
A D | xarray.rs | 174 impl<T> From<StoreError<T>> for Error { implementation
|
A D | miscdevice.rs | 71 pub fn register(opts: MiscDeviceOptions) -> impl PinInit<Self, Error> { in register() argument
|
/rust/kernel/alloc/kvec/ |
A D | errors.rs | 17 impl<T> From<PushError<T>> for Error { implementation 18 fn from(_: PushError<T>) -> Error { in from() 34 impl From<RemoveError> for Error { implementation 35 fn from(_: RemoveError) -> Error { in from() 57 impl<T> From<InsertError<T>> for Error { implementation 58 fn from(_: InsertError<T>) -> Error { in from()
|
/rust/pin-init/examples/ |
A D | error.rs | 11 pub struct Error; struct 13 impl From<Infallible> for Error { implementation 20 impl From<AllocError> for Error { implementation
|
A D | pthread_mutex.rs | 44 pub enum Error { enum 51 impl From<Infallible> for Error { implementation 58 impl From<AllocError> for Error { implementation 66 pub fn new(data: T) -> impl PinInit<Self, Error> { in new() argument
|
/rust/kernel/block/mq/ |
A D | tag_set.rs | 40 ) -> impl PinInit<Self, error::Error> { in new()
|
/rust/kernel/fs/ |
A D | file.rs | 456 impl From<BadFdError> for Error { implementation 458 fn from(_: BadFdError) -> Error { in from()
|
/rust/kernel/drm/gem/ |
A D | mod.rs | 20 fn new(dev: &drm::Device<T::Driver>, size: usize) -> impl PinInit<Self, Error>; in new() argument
|
/rust/kernel/net/ |
A D | phy.rs | 30 Error, enumerator
|