pub struct AssertException {
pub error_message: Option<String>,
}Fields§
§error_message: Option<String>Implementations§
Source§impl AssertException
impl AssertException
pub fn new<F1>(error_message: F1) -> AssertException
pub fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<AssertException>
pub fn write_to_out_protocol( &self, o_prot: &mut dyn TOutputProtocol, ) -> Result<()>
Trait Implementations§
Source§impl Clone for AssertException
impl Clone for AssertException
Source§fn clone(&self) -> AssertException
fn clone(&self) -> AssertException
Returns a duplicate 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 AssertException
impl Debug for AssertException
Source§impl Default for AssertException
impl Default for AssertException
Source§impl Display for AssertException
impl Display for AssertException
Source§impl Error for AssertException
impl Error for AssertException
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<AssertException> for Error
impl From<AssertException> for Error
Source§fn from(e: AssertException) -> Self
fn from(e: AssertException) -> Self
Converts to this type from the input type.
Source§impl Hash for AssertException
impl Hash for AssertException
Source§impl Ord for AssertException
impl Ord for AssertException
Source§fn cmp(&self, other: &AssertException) -> Ordering
fn cmp(&self, other: &AssertException) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AssertException
impl PartialEq for AssertException
Source§impl PartialOrd for AssertException
impl PartialOrd for AssertException
impl Eq for AssertException
impl StructuralPartialEq for AssertException
Auto Trait Implementations§
impl Freeze for AssertException
impl RefUnwindSafe for AssertException
impl Send for AssertException
impl Sync for AssertException
impl Unpin for AssertException
impl UnwindSafe for AssertException
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.