Trait WriteAt

Source
pub trait WriteAt: Sealed {
    // Required method
    fn write_at(&self, buf: &[u8], offset: u64) -> Result<()>;
}
Expand description

A trait for types that can write data to a file-like object at a specific offset.

This is a low-level interface that is used by Cloud Filter to implement the CfExecute function’s CF_OPERATION_TYPE_TRANSFER_DATA operation.

You should not need to implement this trait yourself, but rather use the utility::WriteAt trait as a bound for your argument.

Required Methods§

Source

fn write_at(&self, buf: &[u8], offset: u64) -> Result<()>

Implementors§