[−][src]Struct simid::UUID
Is a 128-bit number used to identify information in computer systems.
Implementations
impl UUID
[src]
pub fn new_v3(any: &str, namespace: UUID) -> Layout
[src]
Generate a UUID by hashing a namespace identifier and name uses MD5.
pub fn new_v5(any: &str, namespace: UUID) -> Layout
[src]
Generate a UUID by hashing a namespace identifier and name uses SHA1.
impl UUID
[src]
impl UUID
[src]
pub fn new_v1() -> Layout
[src]
Generate a time-based and MAC-address UUID.
pub fn new_v2(d: Domain) -> Layout
[src]
Generate a time-based, MAC-address and DCE-security UUID.
pub fn from_utc(ver: Version, utc: u64) -> Layout
[src]
Generate a custom time-based UUID.
pub fn from_mac(ver: Version, mac: [u8; 6]) -> Layout
[src]
Generate a time-based UUID with a user defined MAC-address.
impl UUID
[src]
pub const NIL: Self
[src]
A special case for UUID.
pub const NAMESPACE_DNS: Self
[src]
UUID namespace for domain name system (DNS).
pub const NAMESPACE_OID: Self
[src]
UUID namespace for ISO object identifiers (OIDs).
pub const NAMESPACE_URL: Self
[src]
UUID namespace for uniform resource locators (URLs).
pub const NAMESPACE_X500: Self
[src]
UUID namespace for X.500 distinguished names (DNs).
Trait Implementations
impl Clone for UUID
[src]
impl Copy for UUID
[src]
impl Debug for UUID
[src]
impl Display for UUID
[src]
NOTE: This is not a valid UUID format.
impl Eq for UUID
[src]
impl LowerHex for UUID
[src]
impl PartialEq<UUID> for UUID
[src]
impl StructuralEq for UUID
[src]
impl StructuralPartialEq for UUID
[src]
impl UpperExp for UUID
[src]
Auto Trait Implementations
impl RefUnwindSafe for UUID
[src]
impl Send for UUID
[src]
impl Sync for UUID
[src]
impl Unpin for UUID
[src]
impl UnwindSafe for UUID
[src]
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,