Enum AttachmentRowError
#[non_exhaustive]pub enum AttachmentRowError {
Value(AttachmentError),
StaleHolder,
HolderBusy,
UnsupportedHolder(&'static str),
}Expand description
A failed row read or write through a retained batch.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Value(AttachmentError)
The stored binding could not be read as the requested type.
StaleHolder
The holder unloaded, was replaced, or belongs to another index.
HolderBusy
The physical holder storage is temporarily unavailable; retry after the pass.
UnsupportedHolder(&'static str)
This holder family cannot own attachments.
Trait Implementations§
§impl Clone for AttachmentRowError
impl Clone for AttachmentRowError
§fn clone(&self) -> AttachmentRowError
fn clone(&self) -> AttachmentRowError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AttachmentRowError
§impl Debug for AttachmentRowError
impl Debug for AttachmentRowError
§impl Display for AttachmentRowError
impl Display for AttachmentRowError
impl Eq for AttachmentRowError
§impl Error for AttachmentRowError
impl Error for AttachmentRowError
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()
§impl PartialEq for AttachmentRowError
impl PartialEq for AttachmentRowError
impl StructuralPartialEq for AttachmentRowError
Auto Trait Implementations§
impl Freeze for AttachmentRowError
impl RefUnwindSafe for AttachmentRowError
impl Send for AttachmentRowError
impl Sync for AttachmentRowError
impl Unpin for AttachmentRowError
impl UnsafeUnpin for AttachmentRowError
impl UnwindSafe for AttachmentRowError
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