pub enum LeapWarning {
None,
AddSecond,
DeleteSecond,
NotSynchronized,
}Variants§
Implementations§
Source§impl LeapWarning
impl LeapWarning
Sourcepub fn from_wire(value: i32) -> LeapWarning
pub fn from_wire(value: i32) -> LeapWarning
Decode the leap field used by both the SHM and SOCK protocols.
Trait Implementations§
Source§impl Clone for LeapWarning
impl Clone for LeapWarning
Source§fn clone(&self) -> LeapWarning
fn clone(&self) -> LeapWarning
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 LeapWarning
Source§impl Debug for LeapWarning
impl Debug for LeapWarning
impl Eq for LeapWarning
Source§impl PartialEq for LeapWarning
impl PartialEq for LeapWarning
impl StructuralPartialEq for LeapWarning
Auto Trait Implementations§
impl Freeze for LeapWarning
impl RefUnwindSafe for LeapWarning
impl Send for LeapWarning
impl Sync for LeapWarning
impl Unpin for LeapWarning
impl UnsafeUnpin for LeapWarning
impl UnwindSafe for LeapWarning
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