pub struct S3SourceStorageProfile {
pub region: Option<String>,
pub endpoint: Option<String>,
pub virtual_hosted_style_request: Option<bool>,
pub credential: S3SourceStorageCredential,
/* private fields */
}Expand description
S3-compatible storage settings for source object-store fetches.
Fields§
§region: Option<String>Region passed to the S3 client. When absent, the parsed source/fallback region is used.
endpoint: Option<String>Optional S3-compatible endpoint such as http://localhost:9000.
virtual_hosted_style_request: Option<bool>Optional virtual-hosted addressing flag. Set to Some(false) for
path-style S3-compatible stores such as RustFS/MinIO.
credential: S3SourceStorageCredentialCredential source used by this profile.
Implementations§
Source§impl S3SourceStorageProfile
impl S3SourceStorageProfile
Sourcepub fn default_chain() -> Self
pub fn default_chain() -> Self
Builds an S3 profile that uses the object-store crate’s default credential/config chain unless fields are overridden.
Sourcepub fn with_region(self, region: impl Into<String>) -> Self
pub fn with_region(self, region: impl Into<String>) -> Self
Overrides the S3 region.
Sourcepub fn with_endpoint(self, endpoint: impl Into<String>) -> Self
pub fn with_endpoint(self, endpoint: impl Into<String>) -> Self
Overrides the S3 endpoint.
Sourcepub fn with_path_style_access(self, path_style: bool) -> Self
pub fn with_path_style_access(self, path_style: bool) -> Self
Selects path-style or virtual-hosted-style request addressing.
Sourcepub fn with_unsigned_requests(self) -> Self
pub fn with_unsigned_requests(self) -> Self
Uses unsigned S3 requests without consulting ambient AWS credentials.
Sourcepub fn with_static_credentials(
self,
access_key_id: impl Into<String>,
secret_access_key: impl Into<String>,
session_token: Option<String>,
) -> Self
pub fn with_static_credentials( self, access_key_id: impl Into<String>, secret_access_key: impl Into<String>, session_token: Option<String>, ) -> Self
Uses explicit static credentials for this profile.
Sourcepub fn requires_scoped_remote_direct_profile(&self) -> bool
pub fn requires_scoped_remote_direct_profile(&self) -> bool
Whether remote-direct cuDF reads need settings scoped to this profile. Process-global KvikIO config does not provide them.
Trait Implementations§
Source§impl Clone for S3SourceStorageProfile
impl Clone for S3SourceStorageProfile
Source§impl Debug for S3SourceStorageProfile
impl Debug for S3SourceStorageProfile
impl Eq for S3SourceStorageProfile
Source§impl PartialEq for S3SourceStorageProfile
impl PartialEq for S3SourceStorageProfile
impl StructuralPartialEq for S3SourceStorageProfile
Auto Trait Implementations§
impl Freeze for S3SourceStorageProfile
impl RefUnwindSafe for S3SourceStorageProfile
impl Send for S3SourceStorageProfile
impl Sync for S3SourceStorageProfile
impl Unpin for S3SourceStorageProfile
impl UnsafeUnpin for S3SourceStorageProfile
impl UnwindSafe for S3SourceStorageProfile
Blanket Implementations§
impl<T> Allocation for T
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
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
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more