pub struct ContentIdPrefixError(pub String);Expand description
A string that is not an eight-hex-digit short id.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for ContentIdPrefixError
impl Clone for ContentIdPrefixError
Source§impl Debug for ContentIdPrefixError
impl Debug for ContentIdPrefixError
Source§impl Display for ContentIdPrefixError
impl Display for ContentIdPrefixError
impl Eq for ContentIdPrefixError
Source§impl Error for ContentIdPrefixError
impl Error for ContentIdPrefixError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ContentIdPrefixError
impl PartialEq for ContentIdPrefixError
impl StructuralPartialEq for ContentIdPrefixError
Auto Trait Implementations§
impl Freeze for ContentIdPrefixError
impl RefUnwindSafe for ContentIdPrefixError
impl Send for ContentIdPrefixError
impl Sync for ContentIdPrefixError
impl Unpin for ContentIdPrefixError
impl UnsafeUnpin for ContentIdPrefixError
impl UnwindSafe for ContentIdPrefixError
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
Mutably borrows from an owned value. Read more