pub trait TryIndex<Idx> { type Error; type Output: ?Sized; // Required method fn try_index(&self, index: Idx) -> Result<&Self::Output, Self::Error>; }
The type returned in the event of an error.
The type returned after performing the operation.
The fallible equivalent of Index::index.
Index::index