flipperzero_sys

Type Alias pb_ostream_t

Source
pub type pb_ostream_t = pb_ostream_s;

Aliased Type§

struct pb_ostream_t {
    pub callback: Option<unsafe extern "C" fn(_: *mut pb_ostream_s, _: *const u8, _: usize) -> bool>,
    pub state: *mut c_void,
    pub max_size: usize,
    pub bytes_written: usize,
    pub errmsg: *const i8,
}

Fields§

§callback: Option<unsafe extern "C" fn(_: *mut pb_ostream_s, _: *const u8, _: usize) -> bool>§state: *mut c_void§max_size: usize§bytes_written: usize§errmsg: *const i8