pub enum RecordCreateError {
Inference(String),
ReservedField(String),
Field(String),
Data(String),
Marking(String),
}Expand description
Error returned by application-facing record construction.
Variants§
Inference(String)
The supplied intent does not map to a valid record kind.
ReservedField(String)
An application field used a reserved structural or synthetic name.
Field(String)
An application field was malformed.
Data(String)
Data exceeded the Blob limit.
Marking(String)
Marking failed.
Trait Implementations§
Source§impl Clone for RecordCreateError
impl Clone for RecordCreateError
Source§fn clone(&self) -> RecordCreateError
fn clone(&self) -> RecordCreateError
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 moreSource§impl Debug for RecordCreateError
impl Debug for RecordCreateError
Source§impl Display for RecordCreateError
impl Display for RecordCreateError
impl Eq for RecordCreateError
Source§impl Error for RecordCreateError
impl Error for RecordCreateError
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 RecordCreateError
impl PartialEq for RecordCreateError
Source§fn eq(&self, other: &RecordCreateError) -> bool
fn eq(&self, other: &RecordCreateError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecordCreateError
Auto Trait Implementations§
impl Freeze for RecordCreateError
impl RefUnwindSafe for RecordCreateError
impl Send for RecordCreateError
impl Sync for RecordCreateError
impl Unpin for RecordCreateError
impl UnsafeUnpin for RecordCreateError
impl UnwindSafe for RecordCreateError
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