pub enum HeaderError {
Malformed(String),
UnknownDep(String),
}Expand description
Error surface for header parsing. The registry layer wraps these
into PluginError variants with
the plugin id attached.
Variants§
Malformed(String)
The @data_deps = ... RHS didn’t parse as a JSON-style array
of bare-string dep names.
UnknownDep(String)
A listed dep name is not in the plugin-accessible set
defined by KNOWN_DEPS. credentials and jsonl are
reserved per spec and surface here alongside truly unknown
names.
Trait Implementations§
Source§impl Clone for HeaderError
impl Clone for HeaderError
Source§fn clone(&self) -> HeaderError
fn clone(&self) -> HeaderError
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 HeaderError
impl Debug for HeaderError
Source§impl PartialEq for HeaderError
impl PartialEq for HeaderError
Source§fn eq(&self, other: &HeaderError) -> bool
fn eq(&self, other: &HeaderError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for HeaderError
impl StructuralPartialEq for HeaderError
Auto Trait Implementations§
impl Freeze for HeaderError
impl RefUnwindSafe for HeaderError
impl Send for HeaderError
impl Sync for HeaderError
impl Unpin for HeaderError
impl UnsafeUnpin for HeaderError
impl UnwindSafe for HeaderError
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