pub enum Until {
Indefinite,
For(Duration),
At(Time),
}Expand description
When a session should end, as the user wrote it.
Variants§
Indefinite
No end time.
For(Duration)
A fixed length from now.
At(Time)
The next time the local clock shows this time.
Implementations§
Trait Implementations§
impl Copy for Until
impl Eq for Until
impl StructuralPartialEq for Until
Auto Trait Implementations§
impl Forget for Until
impl Freeze for Until
impl Move for Until
impl RefUnwindSafe for Until
impl Send for Until
impl Sync for Until
impl Unpin for Until
impl UnsafeUnpin for Until
impl UnwindSafe for Until
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