pub struct Status { /* private fields */ }Expand description
Detached report encoder for paged ref outcomes in external storage. Every call accepts a new bounded sink. Discard all output after any sink failure.
Implementations§
Source§impl Status
impl Status
pub fn new(selected: Capabilities) -> Self
pub fn unpack( &mut self, outcome: Result<(), &[u8]>, output: &mut impl Write, ) -> Result<()>
pub fn reference( &mut self, name: &[u8], outcome: Result<(), &[u8]>, output: &mut impl Write, ) -> Result<()>
pub fn finish(&mut self, output: &mut impl Write) -> Result<()>
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnsafeUnpin for Status
impl UnwindSafe for Status
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