pub enum PartitionId {
Known(KnownPartitionId),
Unknown(u8),
}
Variants§
Known(KnownPartitionId)
Unknown(u8)
Trait Implementations§
Source§impl Clone for PartitionId
impl Clone for PartitionId
Source§fn clone(&self) -> PartitionId
fn clone(&self) -> PartitionId
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PartitionId
impl Debug for PartitionId
Source§impl From<u8> for PartitionId
impl From<u8> for PartitionId
Source§impl Ord for PartitionId
impl Ord for PartitionId
Source§impl PartialEq for PartitionId
impl PartialEq for PartitionId
Source§impl PartialOrd for PartitionId
impl PartialOrd for PartitionId
Source§fn partial_cmp(&self, other: &PartitionId) -> Option<Ordering>
fn partial_cmp(&self, other: &PartitionId) -> Option<Ordering>
impl Copy for PartitionId
impl Eq for PartitionId
impl StructuralPartialEq for PartitionId
Auto Trait Implementations§
impl Freeze for PartitionId
impl RefUnwindSafe for PartitionId
impl Send for PartitionId
impl Sync for PartitionId
impl Unpin for PartitionId
impl UnwindSafe for PartitionId
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Comparable<K> for Qwhere
Q: Ord + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Comparable<K> for Qwhere
Q: Ord + ?Sized,
K: Borrow<Q> + ?Sized,
Source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.