Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaQL/FireDBG.for.Rust
/ is_result
Method
is_result
protocol/src/value.rs:795–797 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
793
}
794
795
pub fn is_result(&self) -> bool {
796
matches!(self, Self::Result { .. })
797
}
798
799
/// # Panics
800
/// Panic if self is not of `Result` variant, or variant is not
"Ok"
or
"Err"
.
Callers
1
value_is_error
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected