Struct wezterm_ssh::OpenOptions
source · [−]pub struct OpenOptions {
pub read: bool,
pub write: Option<WriteMode>,
pub mode: i32,
pub ty: OpenFileType,
}
Expand description
Represents options to provide when opening a file or directory
Fields
read: bool
If true, opens a file (or directory) for reading
write: Option<WriteMode>
If provided, opens a file for writing or appending
mode: i32
Unix mode that is used when creating a new file
ty: OpenFileType
Whether opening a file or directory
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for OpenOptions
impl Send for OpenOptions
impl Sync for OpenOptions
impl Unpin for OpenOptions
impl UnwindSafe for OpenOptions
Blanket Implementations
Mutably borrows from an owned value. Read more