From 369d11587339ce74f8ebc76f2607fe55545eaf7d Mon Sep 17 00:00:00 2001 From: garhve Date: Tue, 20 Dec 2022 11:04:25 +0800 Subject: Build small project following the book --- .../target/doc/libc/struct.signalfd_siginfo.html | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.signalfd_siginfo.html (limited to 'rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.signalfd_siginfo.html') diff --git a/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.signalfd_siginfo.html b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.signalfd_siginfo.html new file mode 100644 index 0000000..4d00e1e --- /dev/null +++ b/rust/theBook/chapter-2-guessing-game/guessing_game/target/doc/libc/struct.signalfd_siginfo.html @@ -0,0 +1,27 @@ +signalfd_siginfo in libc - Rust
#[repr(C)]
pub struct signalfd_siginfo {
Show 20 fields + pub ssi_signo: u32, + pub ssi_errno: i32, + pub ssi_code: i32, + pub ssi_pid: u32, + pub ssi_uid: u32, + pub ssi_fd: i32, + pub ssi_tid: u32, + pub ssi_band: u32, + pub ssi_overrun: u32, + pub ssi_trapno: u32, + pub ssi_status: i32, + pub ssi_int: i32, + pub ssi_ptr: u64, + pub ssi_utime: u64, + pub ssi_stime: u64, + pub ssi_addr: u64, + pub ssi_addr_lsb: u16, + pub ssi_syscall: i32, + pub ssi_call_addr: u64, + pub ssi_arch: u32, + /* private fields */ +
}

Fields

ssi_signo: u32ssi_errno: i32ssi_code: i32ssi_pid: u32ssi_uid: u32ssi_fd: i32ssi_tid: u32ssi_band: u32ssi_overrun: u32ssi_trapno: u32ssi_status: i32ssi_int: i32ssi_ptr: u64ssi_utime: u64ssi_stime: u64ssi_addr: u64ssi_addr_lsb: u16ssi_syscall: i32ssi_call_addr: u64ssi_arch: u32

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file -- cgit v1.2.3-70-g09d2