alert

Function alert 

Source
pub fn alert<T>(
    owner_window_id: Option<Id>,
    (title, msg): (impl ToString + Debug, impl ToString + Debug),
    level: MessageLevel,
) -> Task<T>
where T: 'static + Send,
Expand description

[Task]として非同期にメッセージダイアログを表示します。エラーが発生した場合は、ログを出力します。