[−][src]Enum libpijul::pristine::Hash
The external hash of changes.
Variants
None is the hash of the "null change", which introduced a single root vertex at the beginning of the repository.
Implementations
impl Hash
[src]
pub fn to_bytes(&self) -> [u8; 33]
[src]
pub fn from_bytes(s: &[u8]) -> Option<Self>
[src]
pub fn from_prefix(s: &str) -> Option<Self>
[src]
Trait Implementations
impl Base32 for Hash
[src]
pub fn to_base32(&self) -> String
[src]
Returns the base-32 representation of a hash.
pub fn from_base32(s: &[u8]) -> Option<Self>
[src]
Parses a base-32 string into a hash.
impl Clone for Hash
[src]
impl Copy for Hash
[src]
impl Debug for Hash
[src]
impl<'de> Deserialize<'de> for Hash
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for Hash
[src]
impl FromStr for Hash
[src]
type Err = Error
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl Hash for Hash
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Hash
[src]
pub fn cmp(&self, other: &Hash) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<Hash> for Hash
[src]
impl PartialOrd<Hash> for Hash
[src]
pub fn partial_cmp(&self, other: &Hash) -> Option<Ordering>
[src]
pub fn lt(&self, other: &Hash) -> bool
[src]
pub fn le(&self, other: &Hash) -> bool
[src]
pub fn gt(&self, other: &Hash) -> bool
[src]
pub fn ge(&self, other: &Hash) -> bool
[src]
impl Representable for Hash
[src]
pub fn alignment() -> Alignment
[src]
pub fn onpage_size(&self) -> u16
[src]
pub unsafe fn write_value(&self, p: *mut u8)
[src]
pub unsafe fn read_value(p: *const u8) -> Self
[src]
pub unsafe fn cmp_value<T>(&self, _: &T, x: Self) -> Ordering
[src]
type PageOffsets = Empty<u64>
An iterator over the offsets to pages contained in this
value. Only values from this crate can generate non-empty
iterators, but combined values (like tuples) must chain the
iterators returned by method page_offsets
. Read more
pub fn page_offsets(&self) -> Self::PageOffsets
[src]
pub unsafe fn skip(p: *mut u8) -> *mut u8
[src]
pub fn drop_value<E, T, R>(
&self,
&mut MutTxn<E, T>,
&mut R
) -> Result<(), Error> where
E: Borrow<Env<Exclusive>>,
R: Rng,
[src]
&self,
&mut MutTxn<E, T>,
&mut R
) -> Result<(), Error> where
E: Borrow<Env<Exclusive>>,
R: Rng,
impl Serialize for Hash
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for Hash
[src]
impl StructuralPartialEq for Hash
[src]
Auto Trait Implementations
impl RefUnwindSafe for Hash
impl Send for Hash
impl Sync for Hash
impl Unpin for Hash
impl UnwindSafe for Hash
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,