pub enum PropertyConversionError {
NestedVectorInList,
UnsupportedKind(&'static str),
}Expand description
Errors that can arise when converting a LoraValue into a
PropertyValue for storage on a node or relationship.
Variants§
NestedVectorInList
A list entry contained a VECTOR value. Vectors are first-class properties themselves but they cannot be nested inside lists.
UnsupportedKind(&'static str)
Produced when something that cannot appear on disk (e.g. a Path
value captured by mistake) is asked to be converted — surfaced so
callers can reject it instead of silently stringifying.
Trait Implementations§
Source§impl Clone for PropertyConversionError
impl Clone for PropertyConversionError
Source§fn clone(&self) -> PropertyConversionError
fn clone(&self) -> PropertyConversionError
Returns a duplicate of the value. Read more
1.0.0 · 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 PropertyConversionError
impl Debug for PropertyConversionError
Source§impl Display for PropertyConversionError
impl Display for PropertyConversionError
Source§impl Error for PropertyConversionError
impl Error for PropertyConversionError
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 PropertyConversionError
impl PartialEq for PropertyConversionError
impl StructuralPartialEq for PropertyConversionError
Auto Trait Implementations§
impl Freeze for PropertyConversionError
impl RefUnwindSafe for PropertyConversionError
impl Send for PropertyConversionError
impl Sync for PropertyConversionError
impl Unpin for PropertyConversionError
impl UnsafeUnpin for PropertyConversionError
impl UnwindSafe for PropertyConversionError
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