Enum v8::TimeZoneDetection
source · #[repr(C)]pub enum TimeZoneDetection {
Skip = 0,
Redetect = 1,
}
Expand description
Time zone redetection indicator for DateTimeConfigurationChangeNotification.
kSkip indicates V8 that the notification should not trigger redetecting host time zone. kRedetect indicates V8 that host time zone should be redetected, and used to set the default time zone.
The host time zone detection may require file system access or similar operations unlikely to be available inside a sandbox. If v8 is run inside a sandbox, the host time zone has to be detected outside the sandbox before calling DateTimeConfigurationChangeNotification function.
Variants§
Trait Implementations§
source§impl Clone for TimeZoneDetection
impl Clone for TimeZoneDetection
source§fn clone(&self) -> TimeZoneDetection
fn clone(&self) -> TimeZoneDetection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TimeZoneDetection
impl Debug for TimeZoneDetection
source§impl PartialEq for TimeZoneDetection
impl PartialEq for TimeZoneDetection
source§fn eq(&self, other: &TimeZoneDetection) -> bool
fn eq(&self, other: &TimeZoneDetection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TimeZoneDetection
impl Eq for TimeZoneDetection
impl StructuralPartialEq for TimeZoneDetection
Auto Trait Implementations§
impl Freeze for TimeZoneDetection
impl RefUnwindSafe for TimeZoneDetection
impl Send for TimeZoneDetection
impl Sync for TimeZoneDetection
impl Unpin for TimeZoneDetection
impl UnwindSafe for TimeZoneDetection
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