///
/// [`FromStr`]: str/trait.FromStr.html
///
- /// # Failure
+ /// # Errors
///
/// Will return `Err` if it's not possible to parse this string slice into
/// the desired type.
///
/// [`str::from_utf8()`]: ../str/fn.from_utf8.html
///
- /// # Failure
+ /// # Errors
///
/// Returns `Err` if the slice is not UTF-8 with a description as to why the
/// provided bytes are not UTF-8. The vector you moved in is also included.
/// it, this function is one way to have a stack-allocated string. There is
/// an example of this in the examples section below.
///
-/// # Failure
+/// # Errors
///
/// Returns `Err` if the slice is not UTF-8 with a description as to why the
/// provided slice is not UTF-8.
/// * `a-z`
/// * `A-Z`
///
- /// # Failure
+ /// # Errors
///
/// Returns `None` if the `char` does not refer to a digit in the given radix.
///
/// information like the entry's path and possibly other metadata can be
/// learned.
///
-/// # Failure
+/// # Errors
///
/// This `io::Result` will be an `Err` if there's some sort of intermittent
/// IO error during iteration.
/// the predicate must always be checked each time this function returns to
/// protect against spurious wakeups.
///
- /// # Failure
+ /// # Errors
///
/// This function will return an error if the mutex being waited on is
/// poisoned when this thread re-acquires the lock. For more information,
/// held. An RAII guard is returned to allow scoped unlock of the lock. When
/// the guard goes out of scope, the mutex will be unlocked.
///
- /// # Failure
+ /// # Errors
///
/// If another user of this mutex panicked while holding the mutex, then
/// this call will return an error once the mutex is acquired.
///
/// This function does not block.
///
- /// # Failure
+ /// # Errors
///
/// If another user of this mutex panicked while holding the mutex, then
/// this call will return failure if the mutex would otherwise be
/// Consumes this mutex, returning the underlying data.
///
- /// # Failure
+ /// # Errors
///
/// If another user of this mutex panicked while holding the mutex, then
/// this call will return an error instead.
/// Since this call borrows the `Mutex` mutably, no actual locking needs to
/// take place---the mutable borrow statically guarantees no locks exist.
///
- /// # Failure
+ /// # Errors
///
/// If another user of this mutex panicked while holding the mutex, then
/// this call will return an error instead.
/// Returns an RAII guard which will release this thread's shared access
/// once it is dropped.
///
- /// # Failure
+ /// # Errors
///
/// This function will return an error if the RwLock is poisoned. An RwLock
/// is poisoned whenever a writer panics while holding an exclusive lock.
/// This function does not provide any guarantees with respect to the ordering
/// of whether contentious readers or writers will acquire the lock first.
///
- /// # Failure
+ /// # Errors
///
/// This function will return an error if the RwLock is poisoned. An RwLock
/// is poisoned whenever a writer panics while holding an exclusive lock. An
/// Returns an RAII guard which will drop the write access of this rwlock
/// when dropped.
///
- /// # Failure
+ /// # Errors
///
/// This function will return an error if the RwLock is poisoned. An RwLock
/// is poisoned whenever a writer panics while holding an exclusive lock.
/// This function does not provide any guarantees with respect to the ordering
/// of whether contentious readers or writers will acquire the lock first.
///
- /// # Failure
+ /// # Errors
///
/// This function will return an error if the RwLock is poisoned. An RwLock
/// is poisoned whenever a writer panics while holding an exclusive lock. An
/// Consumes this `RwLock`, returning the underlying data.
///
- /// # Failure
+ /// # Errors
///
/// This function will return an error if the RwLock is poisoned. An RwLock
/// is poisoned whenever a writer panics while holding an exclusive lock. An
/// Since this call borrows the `RwLock` mutably, no actual locking needs to
/// take place---the mutable borrow statically guarantees no locks exist.
///
- /// # Failure
+ /// # Errors
///
/// This function will return an error if the RwLock is poisoned. An RwLock
/// is poisoned whenever a writer panics while holding an exclusive lock. An
/// calling this method already holds the lock, the call shall succeed without
/// blocking.
///
- /// # Failure
+ /// # Errors
///
/// If another user of this mutex panicked while holding the mutex, then
/// this call will return failure if the mutex would otherwise be
///
/// This function does not block.
///
- /// # Failure
+ /// # Errors
///
/// If another user of this mutex panicked while holding the mutex, then
/// this call will return failure if the mutex would otherwise be