pub enum DocumentMutationSemanticDigestError {
EmptyDocumentId,
DocumentIdTooLong(usize),
InvalidOperation,
SourceRequired,
SourceForbidden,
SourceTooLarge(usize),
InvalidSourceJson,
RoutingTooLong(usize),
InvalidSequenceNumber,
InvalidPrimaryTerm,
}Variants§
EmptyDocumentId
DocumentIdTooLong(usize)
InvalidOperation
SourceRequired
SourceForbidden
SourceTooLarge(usize)
InvalidSourceJson
RoutingTooLong(usize)
InvalidSequenceNumber
InvalidPrimaryTerm
Trait Implementations§
impl Copy for DocumentMutationSemanticDigestError
impl Eq for DocumentMutationSemanticDigestError
Source§impl Error for DocumentMutationSemanticDigestError
impl Error for DocumentMutationSemanticDigestError
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 StructuralPartialEq for DocumentMutationSemanticDigestError
Auto Trait Implementations§
impl Freeze for DocumentMutationSemanticDigestError
impl RefUnwindSafe for DocumentMutationSemanticDigestError
impl Send for DocumentMutationSemanticDigestError
impl Sync for DocumentMutationSemanticDigestError
impl Unpin for DocumentMutationSemanticDigestError
impl UnsafeUnpin for DocumentMutationSemanticDigestError
impl UnwindSafe for DocumentMutationSemanticDigestError
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