Skip to main content

try_text

Function try_text 

Source
pub fn try_text(parts: &[&[u8]]) -> Result<(String, bool), TryReserveError>
Expand description

text of parts read as one string, as [walk] reads them, into a string reserved fallibly at exactly text_len’s length.

§Errors

The allocator’s refusal of that reservation.