Home
last modified time | relevance | path

Searched defs:try_from (Results 1 – 7 of 7) sorted by relevance

/linux/rust/zerocopy-derive/
H A Drepr.rs308 fn try_from( in try_from() method
346 fn try_from(raw: RawRepr) -> Result<AlignRepr<Pcked>, FromRawReprError<UnsupportedReprError>> { in try_from() method
631 pub(super) fn try_from<E, U>( in try_from() method
/linux/rust/kernel/pci/
H A Did.rs115 fn try_from(value: u32) -> Result<Self, Self::Error> { in try_from() method
/linux/rust/kernel/
H A Dbitfield.rs572 fn try_from(value: Bounded<u64, 4>) -> Result<Self, Self::Error> { in try_from() method
H A Dplatform.rs563 fn try_from(dev: &device::Device<Ctx>) -> Result<Self, Self::Error> { in try_from() method
H A Dpci.rs503 fn try_from(dev: &device::Device<Ctx>) -> Result<Self, Self::Error> { try_from() method
H A Di2c.rs523 fn try_from(dev: &device::Device<Ctx>) -> Result<Self, Self::Error> { in try_from() method
H A Dstr.rs889 fn try_from(cstr: &'a CStr) -> Result<CString, AllocError> { try_from() method