pub trait ImplPostDataElement:
Clone
+ Sized
+ Rc {
// Required methods
fn is_read_only(&self) -> c_int;
fn set_to_empty(&self);
fn set_to_file(&self, file_name: Option<&CefString>);
fn set_to_bytes(&self, size: usize, bytes: *const u8);
fn get_type(&self) -> PostdataelementType;
fn file(&self) -> CefStringUserfree;
fn bytes_count(&self) -> usize;
fn bytes(&self, size: usize, bytes: *mut u8) -> usize;
fn get_raw(&self) -> *mut _cef_post_data_element_t;
}Required Methods§
Sourcefn is_read_only(&self) -> c_int
fn is_read_only(&self) -> c_int
See _cef_post_data_element_t::is_read_only for more documentation.
Sourcefn set_to_empty(&self)
fn set_to_empty(&self)
See _cef_post_data_element_t::set_to_empty for more documentation.
Sourcefn set_to_file(&self, file_name: Option<&CefString>)
fn set_to_file(&self, file_name: Option<&CefString>)
See _cef_post_data_element_t::set_to_file for more documentation.
Sourcefn set_to_bytes(&self, size: usize, bytes: *const u8)
fn set_to_bytes(&self, size: usize, bytes: *const u8)
See _cef_post_data_element_t::set_to_bytes for more documentation.
Sourcefn get_type(&self) -> PostdataelementType
fn get_type(&self) -> PostdataelementType
See _cef_post_data_element_t::get_type for more documentation.
Sourcefn file(&self) -> CefStringUserfree
fn file(&self) -> CefStringUserfree
See _cef_post_data_element_t::get_file for more documentation.
Sourcefn bytes_count(&self) -> usize
fn bytes_count(&self) -> usize
See _cef_post_data_element_t::get_bytes_count for more documentation.
Sourcefn bytes(&self, size: usize, bytes: *mut u8) -> usize
fn bytes(&self, size: usize, bytes: *mut u8) -> usize
See _cef_post_data_element_t::get_bytes for more documentation.
fn get_raw(&self) -> *mut _cef_post_data_element_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.