pub struct InterpretationInput { /* private fields */ }Expand description
Cloneable input handle for raw Connector output chunks.
Implementations§
Source§impl InterpretationInput
impl InterpretationInput
Sourcepub async fn push_bytes(&self, bytes: Bytes) -> Result<(), InterpreterError>
pub async fn push_bytes(&self, bytes: Bytes) -> Result<(), InterpreterError>
Push an ordered raw chunk (fragment boundaries carry no meaning).
Sourcepub async fn finish_clean(&self) -> Result<(), InterpreterError>
pub async fn finish_clean(&self) -> Result<(), InterpreterError>
Signal clean source completion (may seal final sentences).
Sourcepub async fn cancel(&self) -> Result<(), InterpreterError>
pub async fn cancel(&self) -> Result<(), InterpreterError>
Cancel interpretation.
Sourcepub async fn transport_failed(&self) -> Result<(), InterpreterError>
pub async fn transport_failed(&self) -> Result<(), InterpreterError>
Abrupt transport failure.
Trait Implementations§
Source§impl Clone for InterpretationInput
impl Clone for InterpretationInput
Source§fn clone(&self) -> InterpretationInput
fn clone(&self) -> InterpretationInput
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 moreAuto Trait Implementations§
impl Freeze for InterpretationInput
impl RefUnwindSafe for InterpretationInput
impl Send for InterpretationInput
impl Sync for InterpretationInput
impl Unpin for InterpretationInput
impl UnsafeUnpin for InterpretationInput
impl UnwindSafe for InterpretationInput
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