Enum opendal::raw::oio::ReadOperation
source · #[non_exhaustive]
pub enum ReadOperation {
Read,
Seek,
Next,
BlockingRead,
BlockingSeek,
BlockingNext,
}
Expand description
PageOperation is the name for APIs of pager.
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.
Read
Operation for Read::poll_read
Seek
Operation for Read::poll_seek
Next
Operation for Read::poll_next
BlockingRead
Operation for BlockingRead::read
BlockingSeek
Operation for BlockingRead::seek
BlockingNext
Operation for BlockingRead::next
Implementations§
source§impl ReadOperation
impl ReadOperation
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 ReadOperation
impl Clone for ReadOperation
source§fn clone(&self) -> ReadOperation
fn clone(&self) -> ReadOperation
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 ReadOperation
impl Debug for ReadOperation
source§impl Display for ReadOperation
impl Display for ReadOperation
source§impl From<ReadOperation> for &'static str
impl From<ReadOperation> for &'static str
source§fn from(v: ReadOperation) -> &'static str
fn from(v: ReadOperation) -> &'static str
Converts to this type from the input type.
source§impl Hash for ReadOperation
impl Hash for ReadOperation
source§impl PartialEq<ReadOperation> for ReadOperation
impl PartialEq<ReadOperation> for ReadOperation
source§fn eq(&self, other: &ReadOperation) -> bool
fn eq(&self, other: &ReadOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ReadOperation
impl Eq for ReadOperation
impl StructuralEq for ReadOperation
impl StructuralPartialEq for ReadOperation
Auto Trait Implementations§
impl RefUnwindSafe for ReadOperation
impl Send for ReadOperation
impl Sync for ReadOperation
impl Unpin for ReadOperation
impl UnwindSafe for ReadOperation
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.