pub enum PipelineEventHookError {
InvalidInput(String),
PayloadCodec(String),
AbiViolation(String),
Rejected(String),
Failed(String),
ProtocolViolation(String),
}Expand description
Host-facing errors, including failures reported by a plugin.
Variants§
InvalidInput(String)
PayloadCodec(String)
AbiViolation(String)
Rejected(String)
Failed(String)
ProtocolViolation(String)
Implementations§
Source§impl PipelineEventHookError
impl PipelineEventHookError
Sourcepub fn report_projection(&self) -> Self
pub fn report_projection(&self) -> Self
Projects a diagnostic into the existing mobile report message budget.
The code is preserved. Only the outward copy is truncated on a UTF-8 boundary; internal reports retain the complete diagnostic. This is not author-failure validation and must not be used when checking artifact bytes.
Trait Implementations§
Source§impl Clone for PipelineEventHookError
impl Clone for PipelineEventHookError
Source§impl Debug for PipelineEventHookError
impl Debug for PipelineEventHookError
Source§impl<'de> Deserialize<'de> for PipelineEventHookError
impl<'de> Deserialize<'de> for PipelineEventHookError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PipelineEventHookError
impl Display for PipelineEventHookError
impl Eq for PipelineEventHookError
Source§impl Error for PipelineEventHookError
impl Error for PipelineEventHookError
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 From<PipelineEventHookFailure> for PipelineEventHookError
impl From<PipelineEventHookFailure> for PipelineEventHookError
Source§fn from(value: PipelineEventHookFailure) -> Self
fn from(value: PipelineEventHookFailure) -> Self
Converts to this type from the input type.
Source§impl From<PluginProtocolViolation> for PipelineEventHookError
impl From<PluginProtocolViolation> for PipelineEventHookError
Source§fn from(value: PluginProtocolViolation) -> Self
fn from(value: PluginProtocolViolation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PipelineEventHookError
impl PartialEq for PipelineEventHookError
Source§impl Serialize for PipelineEventHookError
impl Serialize for PipelineEventHookError
impl StructuralPartialEq for PipelineEventHookError
Auto Trait Implementations§
impl Forget for PipelineEventHookError
impl Freeze for PipelineEventHookError
impl Move for PipelineEventHookError
impl RefUnwindSafe for PipelineEventHookError
impl Send for PipelineEventHookError
impl Sync for PipelineEventHookError
impl Unpin for PipelineEventHookError
impl UnsafeUnpin for PipelineEventHookError
impl UnwindSafe for PipelineEventHookError
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