Enum opendal::PresignOperation
source · #[non_exhaustive]
pub enum PresignOperation {
Stat(OpStat),
Read(OpRead),
Write(OpWrite),
WriteMultipart(OpWriteMultipart),
}
Expand description
Presign operation used for presign.
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.
Stat(OpStat)
Presign a stat(head) operation.
Read(OpRead)
Presign a read operation.
Write(OpWrite)
Presign a write operation.
WriteMultipart(OpWriteMultipart)
Presign a write multipart operation.
Trait Implementations§
source§impl Clone for PresignOperation
impl Clone for PresignOperation
source§fn clone(&self) -> PresignOperation
fn clone(&self) -> PresignOperation
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 PresignOperation
impl Debug for PresignOperation
source§impl From<OpRead> for PresignOperation
impl From<OpRead> for PresignOperation
source§impl From<OpStat> for PresignOperation
impl From<OpStat> for PresignOperation
source§impl From<OpWrite> for PresignOperation
impl From<OpWrite> for PresignOperation
source§impl From<OpWriteMultipart> for PresignOperation
impl From<OpWriteMultipart> for PresignOperation
source§fn from(v: OpWriteMultipart) -> Self
fn from(v: OpWriteMultipart) -> Self
Converts to this type from the input type.