Lines Matching defs:OpenOptions
12 pub struct OpenOptions { struct
13 tokio: TokioOpenOptions, argument
16 impl OpenOptions { implementation
40 pub fn read(&mut self, read: bool) -> &mut OpenOptions { in read() method
48 pub fn write(&mut self, write: bool) -> &mut OpenOptions { in write() method
56 pub fn append(&mut self, append: bool) -> &mut OpenOptions { in append() method
64 pub fn truncate(&mut self, truncate: bool) -> &mut OpenOptions { in truncate() method
72 pub fn create(&mut self, create: bool) -> &mut OpenOptions { in create() method
80 pub fn create_new(&mut self, create_new: bool) -> &mut OpenOptions { in create_new() method
99 impl OpenOptions { impl
103 pub fn mode(&mut self, mode: u32) -> &mut OpenOptions { in mode() method
111 pub fn custom_flags(&mut self, flags: i32) -> &mut OpenOptions { in custom_flags()
117 impl From<std::fs::OpenOptions> for OpenOptions { implementation
123 impl From<TokioOpenOptions> for OpenOptions { implementation