#[non_exhaustive]pub enum SetPathDelimiterError {
Empty,
AlreadySet,
}Expand description
Error returned when the process-wide path delimiter cannot be configured.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for SetPathDelimiterError
impl Clone for SetPathDelimiterError
Source§fn clone(&self) -> SetPathDelimiterError
fn clone(&self) -> SetPathDelimiterError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SetPathDelimiterError
Source§impl Debug for SetPathDelimiterError
impl Debug for SetPathDelimiterError
Source§impl Display for SetPathDelimiterError
impl Display for SetPathDelimiterError
impl Eq for SetPathDelimiterError
Source§impl Error for SetPathDelimiterError
impl Error for SetPathDelimiterError
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 SetPathDelimiterError
impl PartialEq for SetPathDelimiterError
impl StructuralPartialEq for SetPathDelimiterError
Auto Trait Implementations§
impl Freeze for SetPathDelimiterError
impl RefUnwindSafe for SetPathDelimiterError
impl Send for SetPathDelimiterError
impl Sync for SetPathDelimiterError
impl Unpin for SetPathDelimiterError
impl UnsafeUnpin for SetPathDelimiterError
impl UnwindSafe for SetPathDelimiterError
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