428 matching pages, found in 112 ms

Ask StyxWritten on your GPU machine; takes a few seconds the first time.

  1. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › ops › foreigntype.Code
    More about rust.docs.kernel.org
    Code in core::ops - Rust

    Skip to main content Code core :: ops Foreign Type Code Source extern { pub type Code; } 🔬 This is a nightly-only experimental API. ( fn_static #148768 ) Expand description A type representing a pointer …

    0 points
  2. rust.docs.kernel.orghttps://rust.docs.kernel.org › kernel › error › struct.Error
    More about rust.docs.kernel.org
    Error in kernel::error - Rust

    … MAX_ERRNO && < 0 ). Implementations § Source § impl Error Source pub fn from_errno (errno: c_int ) -> Error Creates an Error from a kernel error code. errno must be within error code range (i.e …

    0 points
  3. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › mem › struct.MaybeDangling
    More about rust.docs.kernel.org
    MaybeDangling in core::mem - Rust

    … more 1.0.0 (const: unstable ) · Source § fn clone_from (&mut self, source: &Self) where Self:, Performs copy-assignment from source . Read more Source § impl<P: Copy + ? Sized > Copy for MaybeDangling <P> Source § impl …

    0 points
  4. rust.docs.kernel.orghttps://rust.docs.kernel.org › kernel › serdev › struct.Device
    More about rust.docs.kernel.org
    Device in kernel::serdev - Rust

    … if interrupted). kernel::error::code::ETIMEDOUT or kernel::error::code::ERESTARTSYS if interrupted before any bytes were written. kernel::error::code::EINVAL if data.len() > i32::MAX . Source pub fn write (&self, data …

    0 points
  5. rust.docs.kernel.orghttps://rust.docs.kernel.org › kernel › opp › struct.OPP
    More about rust.docs.kernel.org
    OPP in kernel::opp - Rust

    … properly synchronised by C code. Auto Trait Implementations § § impl ! Freeze for OPP § impl ! RefUnwindSafe for OPP § impl ! Unpin for OPP § impl ! UnsafeUnpin for OPP § impl UnwindSafe for OPP Blanket Implementations § Source § impl …

    0 points
  6. rust.docs.kernel.orghttps://rust.docs.kernel.org › core › ops › trait.FnPtr
    More about rust.docs.kernel.org
    FnPtr in core::ops - Rust

    … function pointers. Required Methods § Source fn as_ptr (self) -> NonNull < Code > 🔬 This is a nightly-only experimental API. ( fn_static #148768 ) Returns the function pointer as a NonNull<Code> . Source unsafe fn …

    0 points
  7. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › error › struct.Error
    More about rust.docs.kernel.org
    Error in kernel::error - Rust

    … MAX_ERRNO && < 0 ). Implementations § Source § impl Error Source pub fn from_errno (errno: c_int ) -> Error Creates an Error from a kernel error code. errno must be within error code range (i.e …

    0 points
  8. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › pci › struct.Class
    More about rust.docs.kernel.org
    Class in kernel::pci - Rust

    … raw 24-bit class code value. Source § impl Class Source pub const NOT_DEFINED : Self Source pub const NOT_DEFINED_VGA : Self Source pub const STORAGE_SCSI : Self Source pub const STORAGE …

    0 points
  9. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › mem › struct.MaybeDangling
    More about rust.docs.kernel.org
    MaybeDangling in core::mem - Rust

    … more 1.0.0 (const: unstable ) · Source § fn clone_from (&mut self, source: &Self) where Self:, Performs copy-assignment from source . Read more Source § impl<P: Copy + ? Sized > Copy for MaybeDangling <P> Source § impl …

    0 points
  10. rust.docs.kernel.orghttps://rust.docs.kernel.org › … › aref › trait.AlwaysRefCounted
    More about rust.docs.kernel.org
    AlwaysRefCounted in kernel::sync::aref - Rust

    … for kernel::serdev:: Device Source § impl AlwaysRefCounted for Fence Source § impl AlwaysRefCounted for File Source § impl AlwaysRefCounted for FwNode Source § impl AlwaysRefCounted for I2cAdapter Source § impl AlwaysRefCounted for I2cClient Source § impl AlwaysRefCounted …

    0 points

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