Struct data_encoding::SpecificationError
source · pub struct SpecificationError(/* private fields */);
Expand description
Specification error
-Trait Implementations§
source§impl Clone for SpecificationError
impl Clone for SpecificationError
source§fn clone(&self) -> SpecificationError
fn clone(&self) -> SpecificationError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SpecificationError
impl Debug for SpecificationError
source§impl Display for SpecificationError
impl Display for SpecificationError
source§impl Error for SpecificationError
impl Error for SpecificationError
source§fn description(&self) -> &str
fn description(&self) -> &str
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
impl Copy for SpecificationError
Auto Trait Implementations§
impl Freeze for SpecificationError
impl RefUnwindSafe for SpecificationError
impl Send for SpecificationError
impl Sync for SpecificationError
impl Unpin for SpecificationError
impl UnwindSafe for SpecificationError
Blanket Implementations§
Trait Implementations§
source§impl Clone for SpecificationError
impl Clone for SpecificationError
source§fn clone(&self) -> SpecificationError
fn clone(&self) -> SpecificationError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SpecificationError
impl Debug for SpecificationError
source§impl Display for SpecificationError
impl Display for SpecificationError
source§impl Error for SpecificationError
impl Error for SpecificationError
source§fn description(&self) -> &str
fn description(&self) -> &str
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
impl Copy for SpecificationError
Auto Trait Implementations§
impl Freeze for SpecificationError
impl RefUnwindSafe for SpecificationError
impl Send for SpecificationError
impl Sync for SpecificationError
impl Unpin for SpecificationError
impl UnwindSafe for SpecificationError
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
source§impl<T> From<T> for T
impl<T> From<T> for T
source§fn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/getrandom/struct.Error.html b/getrandom/struct.Error.html index a31ace48d2e..a91bb2a220f 100644 --- a/getrandom/struct.Error.html +++ b/getrandom/struct.Error.html @@ -39,7 +39,7 @@sourcepub const fn code(self) -> NonZeroU32
pub const fn code(self) -> NonZeroU32
Extract the bare error code.
This code can either come from the underlying OS, or be a custom error.
Use Error::raw_os_error()
to disambiguate.
Trait Implementations§
source§impl Error for Error
impl Error for Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
Trait Implementations§
source§impl Error for Error
impl Error for Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl From<NonZero<u32>> for Error
impl From<NonZero<u32>> for Error
source§fn from(code: NonZeroU32) -> Self
fn from(code: NonZeroU32) -> Self
source§impl PartialEq for Error
impl PartialEq for Error
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations§
source§impl<T> Borrow<T> for Twhere
diff --git a/indexmap/map/struct.IndexMap.html b/indexmap/map/struct.IndexMap.html
index e2918308db5..edd26121d1c 100644
--- a/indexmap/map/struct.IndexMap.html
+++ b/indexmap/map/struct.IndexMap.html
@@ -347,7 +347,7 @@ §Examples
equivalents of a key occur more than once, the last corresponding value
prevails.
impl<T> Borrow<T> for Twhere
diff --git a/indexmap/map/struct.IndexMap.html b/indexmap/map/struct.IndexMap.html
index e2918308db5..edd26121d1c 100644
--- a/indexmap/map/struct.IndexMap.html
+++ b/indexmap/map/struct.IndexMap.html
@@ -347,7 +347,7 @@ §Examples
equivalents of a key occur more than once, the last corresponding value
prevails.
§Examples
equivalents of a key occur more than once, the last corresponding value prevails.source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
extend_one
)source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
extend_one
)source§impl<K, V, const N: usize> From<[(K, V); N]> for IndexMap<K, V, RandomState>
impl<K, V, const N: usize> From<[(K, V); N]> for IndexMap<K, V, RandomState>
source§fn from(arr: [(K, V); N]) -> Self
fn from(arr: [(K, V); N]) -> Self
source§fn from(arr: [(K, V); N]) -> Self
fn from(arr: [(K, V); N]) -> Self
§Examples
use indexmap::IndexMap;
let map1 = IndexMap::from([(1, 2), (3, 4)]);
@@ -378,10 +378,10 @@ §Examples
let mut map = IndexMap::new();
map.insert("foo", 1);
println!("{:?}", map["bar"]); // panics!
source§fn index(&self, key: &Q) -> &V
fn index(&self, key: &Q) -> &V
Returns a reference to the value corresponding to the supplied key
.
source§impl<K, V, S> Index<usize> for IndexMap<K, V, S>
impl<K, V, S> Index<usize> for IndexMap<K, V, S>
Access IndexMap
values at indexed positions.
§Examples
use indexmap::IndexMap;
let mut map = IndexMap::new();
@@ -402,16 +402,16 @@ §Examples
let mut map = IndexMap::new();
map.insert("foo", 1);
println!("{:?}", map[10]); // panics!
source§impl<K, V, Q, S> IndexMut<&Q> for IndexMap<K, V, S>
impl<K, V, Q, S> IndexMut<&Q> for IndexMap<K, V, S>
Access IndexMap
values corresponding to a key.
Mutable indexing allows changing / updating values of key-value pairs that are already present.
You can not insert new pairs with index syntax, use .insert()
.
§Examples
+§Examples
use indexmap::IndexMap;
let mut map = IndexMap::new();
@@ -428,16 +428,16 @@ §Examples
let mut map = IndexMap::new();
map.insert("foo", 1);
map["bar"] = 1; // panics!
source§impl<K, V, S> IndexMut<usize> for IndexMap<K, V, S>
impl<K, V, S> IndexMut<usize> for IndexMap<K, V, S>
Access IndexMap
values at indexed positions.
Mutable indexing allows changing / updating indexed values that are already present.
You can not insert new values with index syntax, use .insert()
.
§Examples
+§Examples
use indexmap::IndexMap;
let mut map = IndexMap::new();
@@ -454,9 +454,9 @@ §Examples
let mut map = IndexMap::new();
map.insert("foo", 1);
map[10] = 1; // panics!
source§fn index_mut(&mut self, index: usize) -> &mut V
fn index_mut(&mut self, index: usize) -> &mut V
Returns a mutable reference to the value at the supplied index
.
source§impl<'a, K, V, S> IntoIterator for &'a IndexMap<K, V, S>
impl<'a, K, V, S> IntoIterator for &'a IndexMap<K, V, S>
source§impl<'a, K, V, S> IntoIterator for &'a mut IndexMap<K, V, S>
impl<'a, K, V, S> IntoIterator for &'a mut IndexMap<K, V, S>
source§impl<K, V, S> IntoIterator for IndexMap<K, V, S>
impl<K, V, S> IntoIterator for IndexMap<K, V, S>
source§impl<K, V, S> MutableKeys for IndexMap<K, V, S>where
+
impl<K, V, S> MutableKeys for IndexMap<K, V, S>where
+
source§impl<'a, K, V, S> IntoIterator for &'a IndexMap<K, V, S>
impl<'a, K, V, S> IntoIterator for &'a IndexMap<K, V, S>
source§impl<'a, K, V, S> IntoIterator for &'a mut IndexMap<K, V, S>
impl<'a, K, V, S> IntoIterator for &'a mut IndexMap<K, V, S>
source§impl<K, V, S> IntoIterator for IndexMap<K, V, S>
impl<K, V, S> IntoIterator for IndexMap<K, V, S>
source§impl<K, V, S> MutableKeys for IndexMap<K, V, S>
impl<K, V, S> MutableKeys for IndexMap<K, V, S>
Opt-in mutable access to keys.
See MutableKeys
for more information.
See slice::partition_point
for more details.
Computes in O(log(n)) time.
-Trait Implementations§
source§impl<'a, K, V> IntoIterator for &'a Slice<K, V>
impl<'a, K, V> IntoIterator for &'a Slice<K, V>
source§impl<'a, K, V> IntoIterator for &'a mut Slice<K, V>
impl<'a, K, V> IntoIterator for &'a mut Slice<K, V>
source§impl<K, V> IntoIterator for Box<Slice<K, V>>
impl<K, V> IntoIterator for Box<Slice<K, V>>
Trait Implementations§
source§impl<'a, K, V> IntoIterator for &'a Slice<K, V>
impl<'a, K, V> IntoIterator for &'a Slice<K, V>
source§impl<'a, K, V> IntoIterator for &'a mut Slice<K, V>
impl<'a, K, V> IntoIterator for &'a mut Slice<K, V>
source§impl<K, V> IntoIterator for Box<Slice<K, V>>
impl<K, V> IntoIterator for Box<Slice<K, V>>
source§impl<K: PartialEq, V: PartialEq> PartialEq for Slice<K, V>
impl<K: PartialEq, V: PartialEq> PartialEq for Slice<K, V>
source§impl<K: PartialOrd, V: PartialOrd> PartialOrd for Slice<K, V>
impl<K: PartialOrd, V: PartialOrd> PartialOrd for Slice<K, V>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more1.0.0 · source§fn ge(&self, other: &Rhs) -> bool
fn ge(&self, other: &Rhs) -> bool
self
and other
) and is used by the >=
diff --git a/indexmap/set/struct.IndexSet.html b/indexmap/set/struct.IndexSet.html
index 92eb10756da..5070ee3fa3f 100644
--- a/indexmap/set/struct.IndexSet.html
+++ b/indexmap/set/struct.IndexSet.html
@@ -322,19 +322,19 @@