Struct protobuf_native::OperationFailedError
source · pub struct OperationFailedError;
Expand description
An operation failed.
This error does not contain details about why the operation failed or what
the operation was. Unfortunately this is a limitation of the underlying
libprotobuf
APIs.
In some cases, you may be able to find an alternative API that returns a
more descriptive error type (e.g., the APIs that return
compiler::FileLoadError
), but in most cases the underlying library
simply provides no additional details about what went wrong.
Trait Implementations§
source§impl Clone for OperationFailedError
impl Clone for OperationFailedError
source§fn clone(&self) -> OperationFailedError
fn clone(&self) -> OperationFailedError
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 OperationFailedError
impl Debug for OperationFailedError
source§impl Display for OperationFailedError
impl Display for OperationFailedError
source§impl Error for OperationFailedError
impl Error for OperationFailedError
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 Hash for OperationFailedError
impl Hash for OperationFailedError
source§impl PartialEq for OperationFailedError
impl PartialEq for OperationFailedError
impl Copy for OperationFailedError
impl Eq for OperationFailedError
impl StructuralPartialEq for OperationFailedError
Auto Trait Implementations§
impl Freeze for OperationFailedError
impl RefUnwindSafe for OperationFailedError
impl Send for OperationFailedError
impl Sync for OperationFailedError
impl Unpin for OperationFailedError
impl UnwindSafe for OperationFailedError
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
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)