Struct prost_wkt_types::AnyError
source · pub struct AnyError { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Error for AnyError
impl Error for AnyError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
source§impl From<DecodeError> for AnyError
impl From<DecodeError> for AnyError
source§fn from(error: DecodeError) -> Self
fn from(error: DecodeError) -> Self
Converts to this type from the input type.
source§impl From<EncodeError> for AnyError
impl From<EncodeError> for AnyError
source§fn from(error: EncodeError) -> Self
fn from(error: EncodeError) -> Self
Converts to this type from the input type.
impl Eq for AnyError
impl StructuralPartialEq for AnyError
Auto Trait Implementations§
impl Freeze for AnyError
impl RefUnwindSafe for AnyError
impl Send for AnyError
impl Sync for AnyError
impl Unpin for AnyError
impl UnwindSafe for AnyError
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)