Function initialize_safe
Source pub async fn initialize_safe(w: Box<dyn Write + Send>) -> bool
Expand description
Initializes the output to the custom buffer.
This function does not check if you set the output twice.
§Arguments
w
- a dynamic instance in Box which implements Write and Send
§Returns
§Panics
Does not panic!