Trait IsntFileTypeExtExt

Source
pub trait IsntFileTypeExtExt<T: ?Sized>: Sealed<T> + FileTypeExt {
    // Required methods
    fn is_not_block_device(&self) -> bool;
    fn is_not_char_device(&self) -> bool;
    fn is_not_fifo(&self) -> bool;
    fn is_not_socket(&self) -> bool;
}
Expand description

Extension for FileTypeExt

Required Methods§

Source

fn is_not_block_device(&self) -> bool

The negation of is_block_device

Source

fn is_not_char_device(&self) -> bool

The negation of is_char_device

Source

fn is_not_fifo(&self) -> bool

The negation of is_fifo

Source

fn is_not_socket(&self) -> bool

The negation of is_socket

Implementors§

Source§

impl<T> IsntFileTypeExtExt<T> for T
where T: FileTypeExt + ?Sized,