Struct fluvio::dataplane::link::smartmodule::SmartModuleLookbackRuntimeError
source · pub struct SmartModuleLookbackRuntimeError {
pub hint: String,
pub offset: i64,
pub record_key: Option<RecordData>,
pub record_value: RecordData,
}
Expand description
A type used to capture and serialize errors from within a SmartModule
Fields§
§hint: String
Error hint: meant for users, not for code
offset: i64
The offset of the Record that had a runtime error
record_key: Option<RecordData>
The Record key that caused this error
record_value: RecordData
The Record value that caused this error
Implementations§
Trait Implementations§
source§impl Clone for SmartModuleLookbackRuntimeError
impl Clone for SmartModuleLookbackRuntimeError
source§fn clone(&self) -> SmartModuleLookbackRuntimeError
fn clone(&self) -> SmartModuleLookbackRuntimeError
Returns a copy 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 Default for SmartModuleLookbackRuntimeError
impl Default for SmartModuleLookbackRuntimeError
source§fn default() -> SmartModuleLookbackRuntimeError
fn default() -> SmartModuleLookbackRuntimeError
Returns the “default value” for a type. Read more
source§impl Error for SmartModuleLookbackRuntimeError
impl Error for SmartModuleLookbackRuntimeError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 SmartModuleLookbackRuntimeError
impl PartialEq for SmartModuleLookbackRuntimeError
source§fn eq(&self, other: &SmartModuleLookbackRuntimeError) -> bool
fn eq(&self, other: &SmartModuleLookbackRuntimeError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SmartModuleLookbackRuntimeError
impl StructuralPartialEq for SmartModuleLookbackRuntimeError
Auto Trait Implementations§
impl !Freeze for SmartModuleLookbackRuntimeError
impl RefUnwindSafe for SmartModuleLookbackRuntimeError
impl Send for SmartModuleLookbackRuntimeError
impl Sync for SmartModuleLookbackRuntimeError
impl Unpin for SmartModuleLookbackRuntimeError
impl UnwindSafe for SmartModuleLookbackRuntimeError
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.