| /linux/rust/kernel/ |
| H A D | error.rs | 101 pub struct Error(NonZeroI32); struct 103 impl Error { impl 123 pub fn from_errno(errno: crate::ffi::c_int) -> Error { in from_errno() 139 const fn try_from_errno(errno: crate::ffi::c_int) -> Option<Error> { in try_from_errno() 153 const unsafe fn from_errno_unchecked(errno: crate::ffi::c_int) -> Error { in from_errno_unchecked() 203 impl fmt::Debug for Error { implementation 218 impl From<AllocError> for Error { implementation 219 fn from(_: AllocError) -> Error { in from() 224 impl From<TryFromIntError> for Error { implementation 225 fn from(_: TryFromIntError) -> Error { in from() [all …]
|
| H A D | maple_tree.rs | 603 impl From<InsertErrorKind> for Error { implementation 605 fn from(kind: InsertErrorKind) -> Error { in from() 614 impl<T> From<InsertError<T>> for Error { implementation 616 fn from(insert_err: InsertError<T>) -> Error { in from() 640 impl From<AllocErrorKind> for Error { implementation 642 fn from(kind: AllocErrorKind) -> Error { in from() 651 impl<T> From<AllocError<T>> for Error { implementation 653 fn from(insert_err: AllocError<T>) -> Error { in from()
|
| H A D | configfs.rs | 151 ) -> impl PinInit<Self, Error> { in new() argument 261 ) -> impl PinInit<Self, Error> { in new() argument 502 make_group(&self, name: &CStr) -> Result<impl PinInit<Group<Self::Child>, Error>> make_group() argument
|
| H A D | regulator.rs | 65 pub struct Error<State: RegulatorState> { struct 67 pub error: kernel::error::Error, argument 70 regulatorError global() argument
|
| H A D | platform.rs | 228 ) -> impl PinInit<Self, Error>; in probe() argument 539 type Error = kernel::error::Error; typedef 541 fn try_from(dev: &device::Device<Ctx>) -> Result<Self, Self::Error> { in try_from() argument
|
| H A D | pci.rs | 310 fn probe(dev: &Device<device::Core>, id_info: &Self::IdInfo) -> impl PinInit<Self, Error>; in probe() argument 501 type Error = kernel::error::Error; typedef 503 fn try_from(dev: &device::Device<Ctx>) -> Result<Self, Self::Error> { in try_from() argument
|
| H A D | i2c.rs | 338 ) -> impl PinInit<Self, Error>; in probe() argument 520 type Error = kernel::error::Error; typedef 522 fn try_from(dev: &device::Device<Ctx>) -> Result<Self, Self::Error> { in try_from() argument
|
| H A D | str.rs | 406 impl From<core::ffi::FromBytesWithNulError> for Error { implementation 408 fn from(_: core::ffi::FromBytesWithNulError) -> Error { in from() argument 816 pub fn try_from_fmt(args: fmt::Arguments<'_>) -> Result<Self, Error> { in try_from_fmt() argument 868 type Error typedef [all...] |
| H A D | lib.rs | 183 init(module: &'static ThisModule) -> impl pin_init::PinInit<Self, error::Error> init() argument 187 init(module: &'static ThisModule) -> impl pin_init::PinInit<Self, error::Error> init() argument
|
| /linux/rust/syn/ |
| H A D | error.rs | 102 pub struct Error { struct 103 messages: Vec<ErrorMessage>, argument 129 impl Error { impl 163 fn new(span: Span, message: String) -> Error { in new() 194 fn new_spanned(tokens: TokenStream, message: String) -> Error { in new_spanned() 272 pub fn combine(&mut self, another: Error) { in combine() 329 pub(crate) fn new_at<T: Display>(scope: Span, cursor: Cursor, message: T) -> Error { in new_at() 339 pub(crate) fn new2<T: Display>(start: Span, end: Span, message: T) -> Error { in new2() 342 fn new2(start: Span, end: Span, message: String) -> Error { in new2() 352 impl Debug for Error { implementation [all …]
|
| H A D | meta.rs | 380 pub fn error(&self, msg: impl Display) -> Error { in error()
|
| H A D | parse.rs | 373 pub fn error<T: Display>(self, message: T) -> Error { in error() 1007 pub fn error<T: Display>(&self, message: T) -> Error { in error() 1329 fn err_unexpected_token(span: Span, delimiter: Delimiter) -> Error { in err_unexpected_token()
|
| /linux/rust/kernel/alloc/kvec/ |
| H 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()
|
| /linux/rust/pin-init/examples/ |
| H 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 [all...] |
| /linux/samples/rust/ |
| H A D | rust_driver_auxiliary.rs | 38 probe(adev: &auxiliary::Device<Core>, _info: &Self::IdInfo) -> impl PinInit<Self, Error> probe() argument 72 probe(pdev: &pci::Device<Core>, _info: &Self::IdInfo) -> impl PinInit<Self, Error> probe() argument 114 init(module: &'static kernel::ThisModule) -> impl PinInit<Self, Error> init() argument
|
| H A D | rust_driver_usb.rs | 27 probe( intf: &usb::Interface<Core>, _id: &usb::DeviceId, _info: &Self::IdInfo, ) -> impl PinInit<Self, Error> probe() argument
|
| H A D | rust_driver_i2c.rs | 47 probe( idev: &i2c::I2cClient<Core>, info: Option<&Self::IdInfo>, ) -> impl PinInit<Self, Error> probe() argument
|
| H A D | rust_i2c_client.rs | 116 probe( pdev: &platform::Device<device::Core>, _info: Option<&Self::IdInfo>, ) -> impl PinInit<Self, Error> probe() argument
|
| H A D | rust_driver_platform.rs | 106 probe( pdev: &platform::Device<Core>, info: Option<&Self::IdInfo>, ) -> impl PinInit<Self, Error> probe() argument
|
| H A D | rust_dma.rs | 58 fn probe(pdev: &pci::Device<Core>, _info: &Self::IdInfo) -> impl PinInit<Self, Error> { in probe() argument
|
| H A D | rust_debugfs.rs | 112 probe( pdev: &platform::Device<Core>, _info: Option<&Self::IdInfo>, ) -> impl PinInit<Self, Error> probe() argument
|
| /linux/rust/kernel/pci/ |
| H A D | id.rs | 113 type Error = Error; typedef 115 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() argument
|
| /linux/rust/kernel/block/mq/ |
| H A D | tag_set.rs | 40 ) -> impl PinInit<Self, error::Error> { in new() argument
|
| /linux/drivers/gpu/nova-core/gsp/ |
| H A D | fw.rs | 264 type Error = kernel::error::Error; global() typedef 350 type Error = kernel::error::Error; global() typedef 782 init(cmd_size: usize, function: MsgFunction) -> impl Init<Self, Error> init() argument 821 init( sequence: u32, cmd_size: usize, function: MsgFunction, ) -> impl Init<Self, Error> init() argument
|
| /linux/rust/kernel/fs/ |
| H A D | file.rs | 462 impl From<BadFdError> for Error { implementation 464 fn from(_: BadFdError) -> Error { in from()
|