Struct fluvio_smartmodule::dataplane::smartmodule::SmartModuleInput
source · [−]pub struct SmartModuleInput { /* private fields */ }Expand description
A single SmartModule input record
Implementations
sourceimpl SmartModuleInput
impl SmartModuleInput
pub fn new(raw_bytes: Vec<u8>, base_offset: Offset) -> Self
pub fn base_offset(&self) -> Offset
pub fn set_base_offset(&mut self, base_offset: Offset)
pub fn raw_bytes(&self) -> &[u8]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
pub fn into_raw_bytes(self) -> Vec<u8>
pub fn parts(self) -> (Vec<u8>, Vec<u8>)
Trait Implementations
sourceimpl Clone for SmartModuleInput
impl Clone for SmartModuleInput
sourcefn clone(&self) -> SmartModuleInput
fn clone(&self) -> SmartModuleInput
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SmartModuleInput
impl Debug for SmartModuleInput
sourceimpl Decoder for SmartModuleInput
impl Decoder for SmartModuleInput
sourceimpl Default for SmartModuleInput
impl Default for SmartModuleInput
sourcefn default() -> SmartModuleInput
fn default() -> SmartModuleInput
Returns the “default value” for a type. Read more
sourceimpl Display for SmartModuleInput
impl Display for SmartModuleInput
sourceimpl Encoder for SmartModuleInput
impl Encoder for SmartModuleInput
sourceimpl TryFrom<Vec<Record<RecordData>, Global>> for SmartModuleInput
impl TryFrom<Vec<Record<RecordData>, Global>> for SmartModuleInput
Auto Trait Implementations
impl RefUnwindSafe for SmartModuleInput
impl Send for SmartModuleInput
impl Sync for SmartModuleInput
impl Unpin for SmartModuleInput
impl UnwindSafe for SmartModuleInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more