pub trait ImplStreamWriter:
Clone
+ Sized
+ Rc {
// Required methods
fn write(&self, ptr: *const u8, size: usize, n: usize) -> usize;
fn seek(&self, offset: i64, whence: c_int) -> c_int;
fn tell(&self) -> i64;
fn flush(&self) -> c_int;
fn may_block(&self) -> c_int;
fn get_raw(&self) -> *mut _cef_stream_writer_t;
}Required Methods§
Sourcefn write(&self, ptr: *const u8, size: usize, n: usize) -> usize
fn write(&self, ptr: *const u8, size: usize, n: usize) -> usize
See _cef_stream_writer_t::write for more documentation.
Sourcefn seek(&self, offset: i64, whence: c_int) -> c_int
fn seek(&self, offset: i64, whence: c_int) -> c_int
See _cef_stream_writer_t::seek for more documentation.
Sourcefn tell(&self) -> i64
fn tell(&self) -> i64
See _cef_stream_writer_t::tell for more documentation.
Sourcefn flush(&self) -> c_int
fn flush(&self) -> c_int
See _cef_stream_writer_t::flush for more documentation.
Sourcefn may_block(&self) -> c_int
fn may_block(&self) -> c_int
See _cef_stream_writer_t::may_block for more documentation.
fn get_raw(&self) -> *mut _cef_stream_writer_t
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.