Enum opendal::raw::AccessorHint
source · pub enum AccessorHint {
ReadSeekable,
ReadStreamable,
}
Expand description
AccessorHint describes accessor’s hint.
Hint means developers can do optimize for this accessor.
All hints are internal used only and will not be exposed to users.
Variants§
ReadSeekable
Read seekable means the underlying read is seekable.
We can reuse the same reader instead of always creating new one.
ReadStreamable
Read streamable means the underlying read is streamable.
It’s better to use stream to reading data.
Trait Implementations§
source§impl<R: Into<FlagSet<AccessorHint>>> BitAnd<R> for AccessorHint
impl<R: Into<FlagSet<AccessorHint>>> BitAnd<R> for AccessorHint
source§impl<R: Into<FlagSet<AccessorHint>>> BitOr<R> for AccessorHint
impl<R: Into<FlagSet<AccessorHint>>> BitOr<R> for AccessorHint
source§impl<R: Into<FlagSet<AccessorHint>>> BitXor<R> for AccessorHint
impl<R: Into<FlagSet<AccessorHint>>> BitXor<R> for AccessorHint
source§impl Clone for AccessorHint
impl Clone for AccessorHint
source§fn clone(&self) -> AccessorHint
fn clone(&self) -> AccessorHint
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 AccessorHint
impl Debug for AccessorHint
source§impl From<AccessorHint> for FlagSet<AccessorHint>
impl From<AccessorHint> for FlagSet<AccessorHint>
source§fn from(value: AccessorHint) -> Self
fn from(value: AccessorHint) -> Self
Converts to this type from the input type.
source§impl Not for AccessorHint
impl Not for AccessorHint
source§impl PartialEq<AccessorHint> for AccessorHint
impl PartialEq<AccessorHint> for AccessorHint
source§fn eq(&self, other: &AccessorHint) -> bool
fn eq(&self, other: &AccessorHint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<R: Into<FlagSet<AccessorHint>>> Rem<R> for AccessorHint
impl<R: Into<FlagSet<AccessorHint>>> Rem<R> for AccessorHint
source§impl<R: Into<FlagSet<AccessorHint>>> Sub<R> for AccessorHint
impl<R: Into<FlagSet<AccessorHint>>> Sub<R> for AccessorHint
impl Copy for AccessorHint
impl Eq for AccessorHint
impl StructuralEq for AccessorHint
impl StructuralPartialEq for AccessorHint
Auto Trait Implementations§
impl RefUnwindSafe for AccessorHint
impl Send for AccessorHint
impl Sync for AccessorHint
impl Unpin for AccessorHint
impl UnwindSafe for AccessorHint
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.