pub enum LeapSourceMode {
None,
File,
}Expand description
Leap-source mode of this run (T12.2; typed at T17.2 — was &'static str). Describes the run, never
the project’s capabilities — None for an ordinary compile, never an aspirational "unsupported".
Variants§
None
No leap source (ordinary / posix).
File
A leap-seconds file was supplied (-L, the right/ profile).
Implementations§
Trait Implementations§
Source§impl Clone for LeapSourceMode
impl Clone for LeapSourceMode
Source§fn clone(&self) -> LeapSourceMode
fn clone(&self) -> LeapSourceMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LeapSourceMode
Source§impl Debug for LeapSourceMode
impl Debug for LeapSourceMode
impl Eq for LeapSourceMode
Source§impl PartialEq for LeapSourceMode
impl PartialEq for LeapSourceMode
Source§fn eq(&self, other: &LeapSourceMode) -> bool
fn eq(&self, other: &LeapSourceMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LeapSourceMode
Auto Trait Implementations§
impl Freeze for LeapSourceMode
impl RefUnwindSafe for LeapSourceMode
impl Send for LeapSourceMode
impl Sync for LeapSourceMode
impl Unpin for LeapSourceMode
impl UnsafeUnpin for LeapSourceMode
impl UnwindSafe for LeapSourceMode
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