#[repr(C)]pub struct BrotliDecoderReturnInfo {
pub decoded_size: usize,
pub error_string: [u8; 256],
pub error_code: BrotliDecoderErrorCode,
pub result: BrotliResult,
}
Fields§
§decoded_size: usize
§error_string: [u8; 256]
§error_code: BrotliDecoderErrorCode
§result: BrotliResult
Implementations§
source§impl BrotliDecoderReturnInfo
impl BrotliDecoderReturnInfo
pub(crate) fn new<AllocU8: Allocator<u8>, AllocU32: Allocator<u32>, AllocHC: Allocator<HuffmanCode>>( state: &BrotliState<AllocU8, AllocU32, AllocHC>, result: BrotliResult, output_size: usize, ) -> Self
Auto Trait Implementations§
impl Freeze for BrotliDecoderReturnInfo
impl RefUnwindSafe for BrotliDecoderReturnInfo
impl Send for BrotliDecoderReturnInfo
impl Sync for BrotliDecoderReturnInfo
impl Unpin for BrotliDecoderReturnInfo
impl UnwindSafe for BrotliDecoderReturnInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more