pub enum OpenMode {
Read,
Write,
Append,
WriteOnly,
WriteOnlyAppend,
}Expand description
Dart FileMode: what an opened file may do, and where it starts.
Variants§
Read
Read only.
Write
Read and write, cut short at the start.
Append
Read and write, starting at the end.
WriteOnly
Write only, cut short at the start.
WriteOnlyAppend
Write only, starting at the end.
Implementations§
Trait Implementations§
impl Copy for OpenMode
impl Eq for OpenMode
impl StructuralPartialEq for OpenMode
Auto Trait Implementations§
impl Forget for OpenMode
impl Freeze for OpenMode
impl Move for OpenMode
impl RefUnwindSafe for OpenMode
impl Send for OpenMode
impl Sync for OpenMode
impl Unpin for OpenMode
impl UnsafeUnpin for OpenMode
impl UnwindSafe for OpenMode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.