[−][src]Enum file_descriptors::SpecialFileOpenError
An error that can occur when opening one end of a FIFO (a named pipe) or a character device.
Variants
Common(CreationError)
Errors common to opening or creation of most file descriptors.
A (possibly mandatory) file lock is held on the special file path.
Rationally, this would not seem to make sense but the Linux documentation doesn't make it clear if it is possible or not.
If this is encountered then an orderly shutdown is probably the only course of action as it is not possible to epoll for lock status changes on files that haven't even be opened.
EINTR
occurred; this can be handled by either re-trying the open of a FIFO or might actual be fatal depending on the signal handling strategy in use.
InvalidPath(InvalidPathReason)
Invalid path.
Terminal(TerminalSettingsError)
Not a terminal.
Trait Implementations
impl Clone for SpecialFileOpenError
[src]
fn clone(&self) -> SpecialFileOpenError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SpecialFileOpenError
[src]
impl Debug for SpecialFileOpenError
[src]
impl Display for SpecialFileOpenError
[src]
impl Eq for SpecialFileOpenError
[src]
impl Error for SpecialFileOpenError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl Hash for SpecialFileOpenError
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for SpecialFileOpenError
[src]
fn cmp(&self, other: &SpecialFileOpenError) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<SpecialFileOpenError> for SpecialFileOpenError
[src]
fn eq(&self, other: &SpecialFileOpenError) -> bool
[src]
fn ne(&self, other: &SpecialFileOpenError) -> bool
[src]
impl PartialOrd<SpecialFileOpenError> for SpecialFileOpenError
[src]
fn partial_cmp(&self, other: &SpecialFileOpenError) -> Option<Ordering>
[src]
fn lt(&self, other: &SpecialFileOpenError) -> bool
[src]
fn le(&self, other: &SpecialFileOpenError) -> bool
[src]
fn gt(&self, other: &SpecialFileOpenError) -> bool
[src]
fn ge(&self, other: &SpecialFileOpenError) -> bool
[src]
impl StructuralEq for SpecialFileOpenError
[src]
impl StructuralPartialEq for SpecialFileOpenError
[src]
Auto Trait Implementations
impl RefUnwindSafe for SpecialFileOpenError
impl Send for SpecialFileOpenError
impl Sync for SpecialFileOpenError
impl Unpin for SpecialFileOpenError
impl UnwindSafe for SpecialFileOpenError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,