pub enum Scenario {
Default,
Alarm,
Reminder,
IncomingCall,
}
Variants§
Default
The normal toast behavior.
Alarm
This will be displayed pre-expanded and stay on the user’s screen till dismissed. Audio will loop by default and will use alarm audio.
Reminder
This will be displayed pre-expanded and stay on the user’s screen till dismissed..
IncomingCall
This will be displayed pre-expanded in a special call format and stay on the user’s screen till dismissed. Audio will loop by default and will use ringtone audio.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scenario
impl RefUnwindSafe for Scenario
impl Send for Scenario
impl Sync for Scenario
impl Unpin for Scenario
impl UnwindSafe for Scenario
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