Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/storage/src/model_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,11 @@ enum Range {
Segment { offset: u64, limit: u64 },
}

/// Represents the parameters of a `WriteObject` request for use in mocks
/// Represents the parameters of a [WriteObject] request.
///
/// This type is only used in mocks of the `Storage` client.
///
/// [WriteObject]: crate::builder::storage::WriteObject
#[derive(Debug, PartialEq)]
#[non_exhaustive]
#[allow(dead_code)]
Expand Down
4 changes: 4 additions & 0 deletions src/storage/src/storage/request_options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ use gax::{
};
use std::sync::{Arc, Mutex};

/// The per-request options for a client call.
///
/// This is currently an opaque type, used only in mocking the `Storage` client.
/// It is opaque to avoid breaking changes until its interface stabilizes.
#[derive(Clone, Debug)]
pub struct RequestOptions {
pub(crate) retry_policy: Arc<dyn RetryPolicy>,
Expand Down
Loading