Page 20, found in 73 ms

  1. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › io › struct.Error
    More about rust.docs.kernel.org
    Error in core::io - Rust

    … 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 …

    0 points
  2. rust.docs.kernel.orghttps://rust.docs.kernel.org › next › kernel › macro.dbg
    More about rust.docs.kernel.org
    dbg in kernel - Rust

    … 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 …

    0 points
  3. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › pin › unsafe_pinned.rs
    More about rust.docs.kernel.org
    unsafe_pinned.rs - source

    … 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 …

    0 points
  4. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › intrinsics › fn.overflow_checks
    More about rust.docs.kernel.org
    overflow_checks in core::intrinsics - Rust

    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 …

    0 points
  5. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › primitive.f32
    More about rust.docs.kernel.org
    f32 - Rust

    … 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 …

    0 points
  6. rust.docs.kernel.orghttps://rust.docs.kernel.org › src › kernel › cred.rs
    More about rust.docs.kernel.org
    cred.rs - source

    … 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 …

    0 points
  7. rust.docs.kernel.orghttps://rust.docs.kernel.org › src › core › result.rs
    More about rust.docs.kernel.org
    result.rs - source

    … 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 …

    0 points
  8. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › core › random.rs
    More about rust.docs.kernel.org
    random.rs - source

    … 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 …

    0 points
  9. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › intrinsics › fn.raw_eq
    More about rust.docs.kernel.org
    raw_eq in core::intrinsics - Rust

    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 …

    0 points
  10. rust.docs.kernel.orghttps://rust.docs.kernel.org › next › kernel › macro.try_pin_init
    More about rust.docs.kernel.org
    try_pin_init in kernel - Rust

    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 …

    0 points

Search for “source code site:rust.docs.kernel.org” on Google, or add !ddg, !w and other shortcuts to any search.