pub enum InvalidSettingReason {
WrongDomain {
expected: SettingDomain,
found: SettingValueKind,
},
EmptyPath,
PathTooLong {
bytes: usize,
limit: usize,
},
AbsolutePath,
EmptyPathSegment,
DotPathSegment,
ControlCharacter,
}Expand description
Why a closed setting value failed its declared domain.
Variants§
WrongDomain
The value variant does not match the descriptor domain.
Fields
§
expected: SettingDomainRequired descriptor domain.
§
found: SettingValueKindSupplied closed value kind.
EmptyPath
The transform path is empty.
PathTooLong
The transform path exceeds the V1 UTF-8 byte limit.
AbsolutePath
The transform path begins with / and is not relative.
EmptyPathSegment
The transform path contains an empty segment.
DotPathSegment
The transform path contains . or ...
ControlCharacter
The transform path contains an ASCII control character.
Trait Implementations§
Source§impl Clone for InvalidSettingReason
impl Clone for InvalidSettingReason
Source§fn clone(&self) -> InvalidSettingReason
fn clone(&self) -> InvalidSettingReason
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 InvalidSettingReason
impl Debug for InvalidSettingReason
impl Eq for InvalidSettingReason
Source§impl PartialEq for InvalidSettingReason
impl PartialEq for InvalidSettingReason
impl StructuralPartialEq for InvalidSettingReason
Auto Trait Implementations§
impl Freeze for InvalidSettingReason
impl RefUnwindSafe for InvalidSettingReason
impl Send for InvalidSettingReason
impl Sync for InvalidSettingReason
impl Unpin for InvalidSettingReason
impl UnsafeUnpin for InvalidSettingReason
impl UnwindSafe for InvalidSettingReason
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