ImplPostDataElement

Trait ImplPostDataElement 

Source
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§

Source

fn is_read_only(&self) -> c_int

See _cef_post_data_element_t::is_read_only for more documentation.

Source

fn set_to_empty(&self)

See _cef_post_data_element_t::set_to_empty for more documentation.

Source

fn set_to_file(&self, file_name: Option<&CefString>)

See _cef_post_data_element_t::set_to_file for more documentation.

Source

fn set_to_bytes(&self, size: usize, bytes: *const u8)

See _cef_post_data_element_t::set_to_bytes for more documentation.

Source

fn get_type(&self) -> PostdataelementType

See _cef_post_data_element_t::get_type for more documentation.

Source

fn file(&self) -> CefStringUserfree

See _cef_post_data_element_t::get_file for more documentation.

Source

fn bytes_count(&self) -> usize

See _cef_post_data_element_t::get_bytes_count for more documentation.

Source

fn bytes(&self, size: usize, bytes: *mut u8) -> usize

See _cef_post_data_element_t::get_bytes for more documentation.

Source

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.

Implementors§