pub struct GzipDataFormat { /* private fields */ }Implementations§
Source§impl GzipDataFormat
impl GzipDataFormat
pub fn new(config: GzipConfig) -> Self
Trait Implementations§
Source§impl Clone for GzipDataFormat
impl Clone for GzipDataFormat
Source§fn clone(&self) -> GzipDataFormat
fn clone(&self) -> GzipDataFormat
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 DataFormat for GzipDataFormat
impl DataFormat for GzipDataFormat
fn name(&self) -> &str
fn marshal(&self, body: Body) -> Result<Body, CamelError>
fn unmarshal(&self, body: Body) -> Result<Body, CamelError>
Source§fn marshal_in_exchange(
&self,
exchange: &mut Exchange,
body: Body,
) -> Result<Body, CamelError>
fn marshal_in_exchange( &self, exchange: &mut Exchange, body: Body, ) -> Result<Body, CamelError>
Exchange-aware marshal hook. Default delegates to
marshal.
Override when the format needs Exchange context (e.g., writing
metadata headers like CamelCsvHeaderRecord).Source§fn unmarshal_in_exchange(
&self,
exchange: &mut Exchange,
body: Body,
) -> Result<Body, CamelError>
fn unmarshal_in_exchange( &self, exchange: &mut Exchange, body: Body, ) -> Result<Body, CamelError>
Exchange-aware unmarshal hook. Default delegates to
unmarshal.
Override when the format needs Exchange context (e.g., capturing
metadata headers like CamelCsvHeaderRecord).Source§impl Debug for GzipDataFormat
impl Debug for GzipDataFormat
Source§impl Default for GzipDataFormat
impl Default for GzipDataFormat
Source§fn default() -> GzipDataFormat
fn default() -> GzipDataFormat
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GzipDataFormat
impl RefUnwindSafe for GzipDataFormat
impl Send for GzipDataFormat
impl Sync for GzipDataFormat
impl Unpin for GzipDataFormat
impl UnsafeUnpin for GzipDataFormat
impl UnwindSafe for GzipDataFormat
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