Home
last modified time | relevance | path

Searched defs:Error (Results 1 – 25 of 37) sorted by relevance

12

/linux/rust/kernel/
H A Derror.rs101 pub struct Error(NonZeroI32); global() struct
103 impl Error { global() implementation
123 from_errno(errno: crate::ffi::c_int) -> Error from_errno() argument
139 try_from_errno(errno: crate::ffi::c_int) -> Option<Error> try_from_errno() argument
153 from_errno_unchecked(errno: crate::ffi::c_int) -> Error from_errno_unchecked() argument
203 impl fmt::Debug for Error { global() implementation
218 impl From<AllocError> for Error { global() implementation
219 from(_: AllocError) -> Error from() argument
224 impl From<TryFromIntError> for Error { global() implementation
225 from(_: TryFromIntError) -> Error from() argument
230 impl From<Utf8Error> for Error { global() implementation
231 from(_: Utf8Error) -> Error from() argument
236 impl From<LayoutError> for Error { global() implementation
237 from(_: LayoutError) -> Error from() argument
242 impl From<fmt::Error> for Error { global() implementation
243 from(_: fmt::Error) -> Error from() argument
248 impl From<core::convert::Infallible> for Error { global() implementation
249 from(e: core::convert::Infallible) -> Error from() argument
[all...]
H A Dmaple_tree.rs603 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 Dconfigfs.rs151 ) -> 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 Dregulator.rs68 pub struct Error<State: RegulatorState> { struct
70 pub error: kernel::error::Error, argument
73 pub regulator: Regulator<State>,
H A Dplatform.rs228 ) -> 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 Dpci.rs310 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 Di2c.rs338 probe( dev: &I2cClient<device::Core>, id_info: Option<&Self::IdInfo>, ) -> impl PinInit<Self, Error> probe() argument
520 type Error = kernel::error::Error; global() typedef
522 try_from(dev: &device::Device<Ctx>) -> Result<Self, Self::Error> try_from() argument
H A Dstr.rs422 impl From<core::ffi::FromBytesWithNulError> for Error { implementation
424 fn from(_: core::ffi::FromBytesWithNulError) -> Error { in from()
832 pub fn try_from_fmt(args: fmt::Arguments<'_>) -> Result<Self, Error> { in try_from_fmt() argument
887 type Error = AllocError; typedef
H A Dlib.rs165 fn init(module: &'static ThisModule) -> impl pin_init::PinInit<Self, error::Error>; in init()
169 fn init(module: &'static ThisModule) -> impl pin_init::PinInit<Self, error::Error> { in init()
/linux/rust/syn/
H A Derror.rs102 pub struct Error { struct
103 messages: Vec<ErrorMessage>, argument
129 impl Error { implementation
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 Dmeta.rs380 pub fn error(&self, msg: impl Display) -> Error { in error()
H A Dparse.rs373 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 Derrors.rs17 impl<T> From<PushError<T>> for Error { implementation
35 impl From<RemoveError> for Error { in from() argument
18 from(_: PushError<T>) -> Error from() argument
34 impl From<RemoveError> for Error { global() implementation
57 impl<T> From<InsertError<T>> for Error { global() implementation
58 from(_: InsertError<T>) -> Error from() argument
/linux/rust/pin-init/examples/
H A Dpthread_mutex.rs44 pub enum Error { global() enum
51 impl From<Infallible> for Error { global() implementation
58 impl From<AllocError> for Error { global() implementation
66 new(data: T) -> impl PinInit<Self, Error> new() argument
[all...]
/linux/samples/rust/
H A Drust_driver_auxiliary.rs38 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 Drust_driver_usb.rs27 probe( intf: &usb::Interface<Core>, _id: &usb::DeviceId, _info: &Self::IdInfo, ) -> impl PinInit<Self, Error> probe() argument
H A Drust_driver_i2c.rs47 probe( idev: &i2c::I2cClient<Core>, info: Option<&Self::IdInfo>, ) -> impl PinInit<Self, Error> probe() argument
H A Drust_i2c_client.rs116 probe( pdev: &platform::Device<device::Core>, _info: Option<&Self::IdInfo>, ) -> impl PinInit<Self, Error> probe() argument
H A Drust_driver_platform.rs106 probe( pdev: &platform::Device<Core>, info: Option<&Self::IdInfo>, ) -> impl PinInit<Self, Error> probe() argument
H A Drust_dma.rs63 fn probe(pdev: &pci::Device<Core>, _info: &Self::IdInfo) -> impl PinInit<Self, Error> { in probe() argument
H A Drust_debugfs.rs112 probe( pdev: &platform::Device<Core>, _info: Option<&Self::IdInfo>, ) -> impl PinInit<Self, Error> probe() argument
/linux/rust/kernel/pci/
H A Did.rs113 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 Dtag_set.rs40 ) -> impl PinInit<Self, error::Error> { in new() argument
/linux/rust/kernel/fs/
H A Dfile.rs462 impl From<BadFdError> for Error { implementation
464 fn from(_: BadFdError) -> Error { in from()
/linux/drivers/gpu/nova-core/gsp/
H A Dfw.rs295 type Error = kernel::error::Error; typedef
371 type Error = kernel::error::Error; typedef
748 fn init(cmd_size: usize, function: MsgFunction) -> impl Init<Self, Error> { in init() argument
787 ) -> impl Init<Self, Error> { in init() argument

12