[−][src]Struct fbthrift_git::application_exception::ApplicationException
ApplicationException is not actually an error type in the Rust sense, but a Thrift-specific serializable
Fields
message: String
type_: ApplicationExceptionErrorCode
Implementations
impl ApplicationException
[src]
pub fn new(type_: ApplicationExceptionErrorCode, message: String) -> Self
[src]
pub fn unimplemented_method(handler: &str, method: &str) -> Self
[src]
pub fn unknown_method() -> Self
[src]
Indicator that this service doesn't have the method, but another might
pub fn missing_arg(method: &str, arg: &str) -> Self
[src]
pub fn missing_field(method: &str, field: &str) -> Self
[src]
pub fn invalid_protocol(badproto: ProtocolID) -> Self
[src]
Trait Implementations
impl Clone for ApplicationException
[src]
fn clone(&self) -> ApplicationException
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ApplicationException
[src]
impl Default for ApplicationException
[src]
fn default() -> ApplicationException
[src]
impl<P> Deserialize<P> for ApplicationException where
P: ProtocolReader,
[src]
P: ProtocolReader,
fn read(iprot: &mut P) -> Result<Self>
[src]
Decodes a ApplicationException message from a Protocol stream
impl Eq for ApplicationException
[src]
impl From<ApplicationException> for Error
[src]
fn from(exn: ApplicationException) -> Error
[src]
impl From<ApplicationException> for NonthrowingFunctionError
[src]
fn from(ae: ApplicationException) -> Self
[src]
impl Hash for ApplicationException
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ApplicationException
[src]
fn cmp(&self, other: &ApplicationException) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ApplicationException> for ApplicationException
[src]
fn eq(&self, other: &ApplicationException) -> bool
[src]
fn ne(&self, other: &ApplicationException) -> bool
[src]
impl PartialOrd<ApplicationException> for ApplicationException
[src]
fn partial_cmp(&self, other: &ApplicationException) -> Option<Ordering>
[src]
fn lt(&self, other: &ApplicationException) -> bool
[src]
fn le(&self, other: &ApplicationException) -> bool
[src]
fn gt(&self, other: &ApplicationException) -> bool
[src]
fn ge(&self, other: &ApplicationException) -> bool
[src]
impl<P> Serialize<P> for ApplicationException where
P: ProtocolWriter,
[src]
P: ProtocolWriter,
impl StructuralEq for ApplicationException
[src]
impl StructuralPartialEq for ApplicationException
[src]
Auto Trait Implementations
impl RefUnwindSafe for ApplicationException
impl Send for ApplicationException
impl Sync for ApplicationException
impl Unpin for ApplicationException
impl UnwindSafe for ApplicationException
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,