Page 20, found in 73 ms
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › io › struct.ErrorError in core::io - Rust
More about rust.docs.kernel.org
… Other, MyError::new()))); } 1.0.0 · Source pub fn kind (&self) -> ErrorKind Returns the corresponding ErrorKind for this error. This may be a value set by Rust code constructing custom io::Error s, or …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › next › kernel › macro.dbgdbg in kernel - Rust
More about rust.docs.kernel.org
… printk along with the source location of the macro invocation as well as the source code of the expression. Invoking the macro on an expression moves and takes ownership of it before …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › pin › unsafe_pinned.rsunsafe_pinned.rs - source
More about rust.docs.kernel.org
… a mutable reference to code you do not 17 /// control! Techniques such as pinning via [`Pin`] are needed to ensure soundness. 18 /// 19 /// Similar to [`UnsafeCell`](crate::cell::UnsafeCell), `UnsafePinned` will not …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › intrinsics › fn.overflow_checksoverflow_checks in core::intrinsics - Rust
More about rust.docs.kernel.org
Skip to main content overflow_checks core :: intrinsics Function overflow_ checks Source pub const fn overflow_checks() -> bool 🔬 This is a nightly-only experimental API. ( core_intrinsics ) Expand description Returns whether we …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › primitive.f32f32 - Rust
More about rust.docs.kernel.org
… when executing the same code at runtime, and the result can vary depending on factors such as compiler version and flags. § Target-specific “extra” NaN values target_arch Extra payloads possible on …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › src › kernel › cred.rscred.rs - source
More about rust.docs.kernel.org
… properly synchronised by C code. 37 unsafe impl Sync for Credential {} 38 39 impl Credential { 40 /// Creates a reference to a [`Credential`] from a valid pointer. 41 /// 42 /// # Safety 43 /// 44 /// The …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › src › core › result.rsresult.rs - source
More about rust.docs.kernel.org
… just a synonym for <code>[Result]<T, [io::Error]></code>.* 96 //! 97 //! This method doesn't produce a value, but the write may 98 //! fail. It's crucial to handle the error case, and …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › … › core › random.rsrandom.rs - source
More about rust.docs.kernel.org
… using the specified random source. 30 fn sample( & self , source: &mut ( impl Rng + ? Sized )) -> T; 31 } 32 33 impl <T, DT: Distribution <T>> Distribution <T> for & DT { 34 fn sample( & self , source …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › core › intrinsics › fn.raw_eqraw_eq in core::intrinsics - Rust
More about rust.docs.kernel.org
Skip to main content raw_eq core :: intrinsics Function raw_eq Source pub const unsafe fn raw_eq<T>(a: &T , b: &T ) -> bool 🔬 This is a nightly-only experimental API. ( core …
-
rust.docs.kernel.orghttps://rust.docs.kernel.org › next › kernel › macro.try_pin_inittry_pin_init in kernel - Rust
More about rust.docs.kernel.org
Skip to main content try_pin_init kernel Macro try_ pin_ init Source macro_rules! try_pin_init { ($($args:tt)*) => { ... }; } Expand description Construct an in-place, fallible pinned initializer for struct s …
Search for “source code site:rust.docs.kernel.org” on Google, or add !ddg, !w and other shortcuts to any search.