Home
last modified time | relevance | path

Searched refs:downcast (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/rust/kernel/sync/arc/
Dstd_vendor.rs13 pub fn downcast<T>(self) -> core::result::Result<Arc<T>, Self> in downcast() method
/Linux-v6.6/rust/alloc/
Dboxed.rs1718 pub fn downcast<T: Any>(self) -> Result<Box<T, A>, Self> { in downcast() method
1777 pub fn downcast<T: Any>(self) -> Result<Box<T, A>, Self> { in downcast() method
1836 pub fn downcast<T: Any>(self) -> Result<Box<T, A>, Self> { in downcast() method
2147 pub fn downcast<T: Error + 'static>(self: Box<Self>) -> Result<Box<T>, Box<dyn Error>> { in downcast() method
2164 pub fn downcast<T: Error + 'static>(self: Box<Self>) -> Result<Box<T>, Box<dyn Error + Send>> { in downcast() method
2166 <dyn Error>::downcast(err).map_err(|s| unsafe { in downcast()
2178 pub fn downcast<T: Error + 'static>(self: Box<Self>) -> Result<Box<T>, Box<Self>> { in downcast() method
2180 <dyn Error>::downcast(err).map_err(|s| unsafe { in downcast()