pub struct TestUseError {}
Expand description
Does nothing and ensures that the Error object is used; for testing only
Trait Implementations§
Source§impl Clone for TestUseError
impl Clone for TestUseError
Source§fn clone(&self) -> TestUseError
fn clone(&self) -> TestUseError
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 TestUseError
impl Debug for TestUseError
Source§impl<'de> Deserialize<'de> for TestUseError
impl<'de> Deserialize<'de> for TestUseError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for TestUseError
impl Method for TestUseError
Auto Trait Implementations§
impl Freeze for TestUseError
impl RefUnwindSafe for TestUseError
impl Send for TestUseError
impl Sync for TestUseError
impl Unpin for TestUseError
impl UnwindSafe for TestUseError
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