Enum opendal::raw::oio::WriteOperation
source · #[non_exhaustive]
pub enum WriteOperation {
Write,
Append,
Close,
BlockingWrite,
BlockingAppend,
BlockingClose,
}
Expand description
WriteOperation is the name for APIs of Writer.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Write
Operation for Write::write
Append
Operation for Write::append
Close
Operation for Write::close
BlockingWrite
Operation for BlockingWrite::write
BlockingAppend
Operation for BlockingWrite::append
BlockingClose
Operation for BlockingWrite::close
Implementations§
source§impl WriteOperation
impl WriteOperation
sourcepub fn into_static(self) -> &'static str
pub fn into_static(self) -> &'static str
Convert self into static str.
Trait Implementations§
source§impl Clone for WriteOperation
impl Clone for WriteOperation
source§fn clone(&self) -> WriteOperation
fn clone(&self) -> WriteOperation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WriteOperation
impl Debug for WriteOperation
source§impl Display for WriteOperation
impl Display for WriteOperation
source§impl From<WriteOperation> for &'static str
impl From<WriteOperation> for &'static str
source§fn from(v: WriteOperation) -> &'static str
fn from(v: WriteOperation) -> &'static str
Converts to this type from the input type.
source§impl Hash for WriteOperation
impl Hash for WriteOperation
source§impl PartialEq<WriteOperation> for WriteOperation
impl PartialEq<WriteOperation> for WriteOperation
source§fn eq(&self, other: &WriteOperation) -> bool
fn eq(&self, other: &WriteOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WriteOperation
impl Eq for WriteOperation
impl StructuralEq for WriteOperation
impl StructuralPartialEq for WriteOperation
Auto Trait Implementations§
impl RefUnwindSafe for WriteOperation
impl Send for WriteOperation
impl Sync for WriteOperation
impl Unpin for WriteOperation
impl UnwindSafe for WriteOperation
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.