warning

Function warning 

Source
pub fn warning<T>(text: &str) -> MessageBox<'_, T>
Expand description

Creates a new message box where its icon is set to Warning.