Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub fn symbol(&mut self, frame: &Frame, symbol: &super::Symbol) -> fmt::Result
Prints a raw traced Frame and Symbol, typically from within the raw callbacks of this crate.
method std Version 1.100.0-nightly
doc.rust-lang.org
pub fn print_raw_with_column(&mut self, frame_ip: *mut c_void, symbol_name: Option<SymbolName<'_>>, filename: Option<BytesOrWideString<'_>>, lineno: Option<u32>, colno: Option<u32>) -> fmt::Result
Adds a raw frame to the backtrace output, including column information.
method std Version 1.100.0-nightly
doc.rust-lang.org
pub fn print_raw(&mut self, frame_ip: *mut c_void, symbol_name: Option<SymbolName<'_>>, filename: Option<BytesOrWideString<'_>>, lineno: Option<u32>) -> fmt::Result
Adds a raw frame to the backtrace output.
method std Version 1.100.0-nightly
doc.rust-lang.org
pub struct BacktraceFrameFmt<'fmt, 'a, 'b>
A formatter for just one frame of a backtrace.
struct std Version 1.100.0-nightly
doc.rust-lang.org
pub fn new(fmt: &'a mut fmt::Formatter<'b>, format: PrintFmt, print_path: &'a mut dyn FnMut(&mut fmt::Formatter<'_>, BytesOrWideString<'_>) -> fmt::Result + 'b) -> Self
Create a new BacktraceFmt which will write output to the provided fmt.
associated_function std Version 1.100.0-nightly
doc.rust-lang.org
pub fn message(&mut self, msg: &str) -> fmt::Result
Inserts a message in the backtrace output.
method std Version 1.100.0-nightly
doc.rust-lang.org
pub fn frame(&mut self) -> BacktraceFrameFmt<'_, 'a, 'b>
Adds a frame to the backtrace output.
method std Version 1.100.0-nightly
doc.rust-lang.org
pub fn formatter(&mut self) -> &mut fmt::Formatter<'b>
Return the inner formatter.
method std Version 1.100.0-nightly
doc.rust-lang.org
pub fn finish(&mut self) -> fmt::Result
Completes the backtrace output.
method std Version 1.100.0-nightly
doc.rust-lang.org
pub fn add_context(&mut self) -> fmt::Result
Prints a preamble for the backtrace about to be printed.
method std Version 1.100.0-nightly
doc.rust-lang.org
pub struct BacktraceFmt<'a, 'b>
A formatter for backtraces.
struct std Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn trace_unsynchronized<F>(cb: F)
Same as trace, only unsafe as it's unsynchronized.
function std Version 1.100.0-nightly
doc.rust-lang.org
pub fn symbol_address(&self) -> *mut c_void
Returns the starting symbol address of the frame of this function.
method std Version 1.100.0-nightly
doc.rust-lang.org
pub fn sp(&self) -> *mut c_void
Returns the current stack pointer of this frame.
method std Version 1.100.0-nightly
doc.rust-lang.org
pub fn module_base_address(&self) -> Option<*mut c_void>
Returns the base address of the module to which the frame belongs.
method std Version 1.100.0-nightly
doc.rust-lang.org
pub fn ip(&self) -> *mut c_void
Returns the current instruction pointer of this frame.
method std Version 1.100.0-nightly
doc.rust-lang.org
pub struct Frame
A trait representing one frame of a backtrace, yielded to the trace function of this crate.
struct std Version 1.100.0-nightly
doc.rust-lang.org
pub enum BacktraceStatus
The current status of a backtrace, indicating whether it was captured or whether it is empty for some other reason.
enum std Stable since 1.65.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn status(&self) -> BacktraceStatus
Returns the status of this backtrace, indicating whether this backtrace request was unsupported, disabled, or a stack trace was actually captured.
method std Stable since 1.65.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn force_capture() -> Backtrace
Forcibly captures a full backtrace, regardless of environment variable configuration.
associated_function std Stable since 1.65.0 Version 1.100.0-nightly
"Well, let me tell you: unless your code is cooler than ICE, the compiler does not miss anything. Rust accompanies us at each step of our path, very ge..."

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, research, crates, and Rust API documentation. These operators give you finer control — click an example to try it.

Find pages containing all your words. Pages where the words appear together rank higher.
Quote part of your query to keep those words together as an exact phrase within a larger search.
Wrap the whole query in quotes for a verbatim search that matches text exactly, punctuation and all — perfect for Rust syntax. Needs at least 3 characters.
Put ! first to open the top result immediately. Quote the whole query for a literal leading bang, as in '!Send'. Bangs elsewhere, such as println!, stay literal. Browser and launcher shortcuts can invoke this directly. See search integrations.
Limit results to a single site. Works on its own () too. One site: per search.

Use the tabs and filters above the results to narrow by content type, publication year, and sort order.