pub enum BatchLineError {
Undecodable,
NoResponse,
ProviderStatus(u16),
NoContent,
}Expand description
A per-line failure of one completed request. The Display strings are
the durable last_error texts operators see in Postgres.
Variants§
Undecodable
The line did not match the envelope; BatchResultLine::raw still
carries the provider payload for storage.
NoResponse
ProviderStatus(u16)
NoContent
Trait Implementations§
Source§impl Debug for BatchLineError
impl Debug for BatchLineError
Source§impl Display for BatchLineError
impl Display for BatchLineError
Source§impl Error for BatchLineError
impl Error for BatchLineError
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()
Auto Trait Implementations§
impl Freeze for BatchLineError
impl RefUnwindSafe for BatchLineError
impl Send for BatchLineError
impl Sync for BatchLineError
impl Unpin for BatchLineError
impl UnsafeUnpin for BatchLineError
impl UnwindSafe for BatchLineError
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