Enum fbthrift_git::ResultType
source · pub enum ResultType {
Return,
Error,
Exception,
}Expand description
Classify a result from a specific method call.
Variants§
Return
A successful return
Error
A declared exception
Exception
Some other exception (eg ApplicationException)
Implementations§
source§impl ResultType
impl ResultType
pub fn message_type(&self) -> MessageType
Trait Implementations§
source§impl Clone for ResultType
impl Clone for ResultType
source§fn clone(&self) -> ResultType
fn clone(&self) -> ResultType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ResultType
impl Debug for ResultType
source§impl PartialEq<ResultType> for ResultType
impl PartialEq<ResultType> for ResultType
source§fn eq(&self, other: &ResultType) -> bool
fn eq(&self, other: &ResultType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.