pub struct SavepointError {
pub name: String,
}Expand description
A requested savepoint is absent from the active transaction.
Fields§
§name: StringTrait Implementations§
Source§impl Clone for SavepointError
impl Clone for SavepointError
Source§impl Debug for SavepointError
impl Debug for SavepointError
Source§impl Display for SavepointError
impl Display for SavepointError
impl Eq for SavepointError
Source§impl Error for SavepointError
impl Error for SavepointError
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 PartialEq for SavepointError
impl PartialEq for SavepointError
impl StructuralPartialEq for SavepointError
Auto Trait Implementations§
impl Freeze for SavepointError
impl RefUnwindSafe for SavepointError
impl Send for SavepointError
impl Sync for SavepointError
impl Unpin for SavepointError
impl UnsafeUnpin for SavepointError
impl UnwindSafe for SavepointError
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