pub struct PostStream(pub Vec<PostView>);Tuple Fields§
§0: Vec<PostView>Implementations§
Source§impl PostStream
impl PostStream
pub fn extend(&mut self, post_stream: PostStream)
pub async fn get_posts( source: StreamSource, pagination: Pagination, order: SortOrder, sorting: StreamSorting, viewer_id: Option<String>, tags: Option<Vec<String>>, kind: Option<PubkyAppPostKind>, ) -> Result<Option<Self>, DynError>
pub async fn get_global_posts_keys( sorting: StreamSorting, order: SortOrder, start: Option<f64>, end: Option<f64>, skip: Option<usize>, limit: Option<usize>, ) -> Result<Vec<String>, DynError>
pub async fn get_posts_keys_by_tag( label: &str, sorting: StreamSorting, start: Option<f64>, end: Option<f64>, skip: Option<usize>, limit: Option<usize>, ) -> Result<Vec<String>, DynError>
pub async fn get_posts_by_source( source: StreamSource, order: SortOrder, start: Option<f64>, end: Option<f64>, skip: Option<usize>, limit: Option<usize>, ) -> Result<Vec<String>, DynError>
pub async fn get_bookmarked_posts( user_id: &str, order: SortOrder, start: Option<f64>, end: Option<f64>, skip: Option<usize>, limit: Option<usize>, ) -> Result<Vec<String>, DynError>
pub async fn get_post_replies( author_id: &str, post_id: &str, order: SortOrder, start: Option<f64>, end: Option<f64>, skip: Option<usize>, limit: Option<usize>, ) -> Result<Vec<String>, DynError>
pub async fn from_listed_post_ids( viewer_id: Option<String>, post_keys: &[String], ) -> Result<Option<Self>, DynError>
Sourcepub async fn add_to_timeline_sorted_set(
details: &PostDetails,
) -> Result<(), DynError>
pub async fn add_to_timeline_sorted_set( details: &PostDetails, ) -> Result<(), DynError>
Adds the post to a Redis sorted set using the indexed_at timestamp as the score.
Sourcepub async fn remove_from_timeline_sorted_set(
author_id: &str,
post_id: &str,
) -> Result<(), DynError>
pub async fn remove_from_timeline_sorted_set( author_id: &str, post_id: &str, ) -> Result<(), DynError>
Adds the post to a Redis sorted set using the indexed_at timestamp as the score.
Sourcepub async fn add_to_per_user_sorted_set(
details: &PostDetails,
) -> Result<(), DynError>
pub async fn add_to_per_user_sorted_set( details: &PostDetails, ) -> Result<(), DynError>
Adds the post to a Redis sorted set using the indexed_at timestamp as the score.
Sourcepub async fn remove_from_per_user_sorted_set(
author_id: &str,
post_id: &str,
) -> Result<(), DynError>
pub async fn remove_from_per_user_sorted_set( author_id: &str, post_id: &str, ) -> Result<(), DynError>
Adds the post to a Redis sorted set using the indexed_at timestamp as the score.
Sourcepub async fn add_to_post_reply_sorted_set(
parent_post_key_parts: &[&str; 2],
author_id: &str,
reply_id: &str,
indexed_at: i64,
) -> Result<(), DynError>
pub async fn add_to_post_reply_sorted_set( parent_post_key_parts: &[&str; 2], author_id: &str, reply_id: &str, indexed_at: i64, ) -> Result<(), DynError>
Adds the post response to a Redis sorted set using the indexed_at timestamp as the score.
Sourcepub async fn remove_from_post_reply_sorted_set(
parent_post_key_parts: &[&str; 2],
author_id: &str,
reply_id: &str,
) -> Result<(), DynError>
pub async fn remove_from_post_reply_sorted_set( parent_post_key_parts: &[&str; 2], author_id: &str, reply_id: &str, ) -> Result<(), DynError>
Adds the post response to a Redis sorted set using the indexed_at timestamp as the score.
Sourcepub async fn add_to_replies_per_user_sorted_set(
details: &PostDetails,
) -> Result<(), DynError>
pub async fn add_to_replies_per_user_sorted_set( details: &PostDetails, ) -> Result<(), DynError>
Adds the post to a Redis sorted set of replies per author using the indexed_at timestamp as the score.
Sourcepub async fn remove_from_replies_per_user_sorted_set(
author_id: &str,
post_id: &str,
) -> Result<(), DynError>
pub async fn remove_from_replies_per_user_sorted_set( author_id: &str, post_id: &str, ) -> Result<(), DynError>
Adds the post to a Redis sorted set using the indexed_at timestamp as the score.
Sourcepub async fn add_to_bookmarks_sorted_set(
bookmark: &Bookmark,
bookmarker_id: &str,
post_id: &str,
author_id: &str,
) -> Result<(), DynError>
pub async fn add_to_bookmarks_sorted_set( bookmark: &Bookmark, bookmarker_id: &str, post_id: &str, author_id: &str, ) -> Result<(), DynError>
Adds a bookmark to Redis sorted set using the indexed_at timestamp as the score.
Sourcepub async fn remove_from_bookmarks_sorted_set(
bookmarker_id: &str,
post_id: &str,
author_id: &str,
) -> Result<(), DynError>
pub async fn remove_from_bookmarks_sorted_set( bookmarker_id: &str, post_id: &str, author_id: &str, ) -> Result<(), DynError>
Remove a bookmark from Redis sorted
Sourcepub async fn add_to_engagement_sorted_set(
counts: &PostCounts,
author_id: &str,
post_id: &str,
) -> Result<(), DynError>
pub async fn add_to_engagement_sorted_set( counts: &PostCounts, author_id: &str, post_id: &str, ) -> Result<(), DynError>
Adds the post to a Redis sorted set using the total engagement as the score.
pub async fn delete_from_engagement_sorted_set( author_id: &str, post_id: &str, ) -> Result<(), DynError>
pub async fn update_index_score( author_id: &str, post_id: &str, score_action: ScoreAction, ) -> Result<(), DynError>
Trait Implementations§
Source§impl ComposeSchema for PostStream
impl ComposeSchema for PostStream
Source§impl Debug for PostStream
impl Debug for PostStream
Source§impl Default for PostStream
impl Default for PostStream
Source§fn default() -> PostStream
fn default() -> PostStream
Source§impl<'de> Deserialize<'de> for PostStream
impl<'de> Deserialize<'de> for PostStream
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl RedisOps for PostStream
impl RedisOps for PostStream
Source§fn prefix<'async_trait>() -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>>where
Self: 'async_trait,
fn prefix<'async_trait>() -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>>where
Self: 'async_trait,
Source§fn put_index_json<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
key_parts: &'life1 [&'life2 str],
prefix: Option<String>,
expiration: Option<i64>,
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn put_index_json<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
key_parts: &'life1 [&'life2 str],
prefix: Option<String>,
expiration: Option<i64>,
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn try_from_index_json<'life0, 'life1, 'async_trait>(
key_parts: &'life0 [&'life1 str],
prefix: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Option<Self>, DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn try_from_index_json<'life0, 'life1, 'async_trait>(
key_parts: &'life0 [&'life1 str],
prefix: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Option<Self>, DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn try_from_index_multiple_json<'life0, 'life1, 'life2, 'async_trait>(
key_parts_list: &'life0 [&'life1 [&'life2 str]],
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<Self>>, DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn try_from_index_multiple_json<'life0, 'life1, 'life2, 'async_trait>(
key_parts_list: &'life0 [&'life1 [&'life2 str]],
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<Self>>, DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn put_multiple_json_indexes<'life0, 'life1, 'life2, 'async_trait>(
key_parts_list: &'life0 [&'life1 [&'life2 str]],
collection: Vec<Option<Self>>,
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn put_multiple_json_indexes<'life0, 'life1, 'life2, 'async_trait>(
key_parts_list: &'life0 [&'life1 [&'life2 str]],
collection: Vec<Option<Self>>,
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn remove_from_index_multiple_json<'life0, 'life1, 'life2, 'async_trait>(
key_parts_list: &'life0 [&'life1 [&'life2 str]],
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn remove_from_index_multiple_json<'life0, 'life1, 'life2, 'async_trait>(
key_parts_list: &'life0 [&'life1 [&'life2 str]],
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn modify_json_field<'life0, 'life1, 'life2, 'async_trait>(
key_parts: &'life0 [&'life1 str],
field: &'life2 str,
action: JsonAction,
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn modify_json_field<'life0, 'life1, 'life2, 'async_trait>(
key_parts: &'life0 [&'life1 str],
field: &'life2 str,
action: JsonAction,
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn put_index_list<'life0, 'life1, 'life2, 'async_trait, T>(
&'life0 self,
key_parts: &'life1 [&'life2 str],
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>
fn put_index_list<'life0, 'life1, 'life2, 'async_trait, T>( &'life0 self, key_parts: &'life1 [&'life2 str], ) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>
Source§fn try_from_index_list<'life0, 'life1, 'async_trait>(
key_parts: &'life0 [&'life1 str],
skip: Option<usize>,
limit: Option<usize>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<String>>, DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn try_from_index_list<'life0, 'life1, 'async_trait>(
key_parts: &'life0 [&'life1 str],
skip: Option<usize>,
limit: Option<usize>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<String>>, DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn put_index_set<'life0, 'life1, 'life2, 'life3, 'async_trait>(
key_parts: &'life0 [&'life1 str],
values: &'life2 [&'life3 str],
expiration: Option<i64>,
prefix: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn put_index_set<'life0, 'life1, 'life2, 'life3, 'async_trait>(
key_parts: &'life0 [&'life1 str],
values: &'life2 [&'life3 str],
expiration: Option<i64>,
prefix: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn remove_from_index_set<'life0, 'life1, 'life2, 'async_trait, T>(
&'life0 self,
key_parts: &'life1 [&'life2 str],
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>
fn remove_from_index_set<'life0, 'life1, 'life2, 'async_trait, T>( &'life0 self, key_parts: &'life1 [&'life2 str], ) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>
Source§fn try_from_index_set<'life0, 'life1, 'async_trait>(
key_parts: &'life0 [&'life1 str],
skip: Option<usize>,
limit: Option<usize>,
prefix: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<String>>, DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn try_from_index_set<'life0, 'life1, 'async_trait>(
key_parts: &'life0 [&'life1 str],
skip: Option<usize>,
limit: Option<usize>,
prefix: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<String>>, DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn check_set_member<'life0, 'life1, 'life2, 'async_trait>(
key_parts: &'life0 [&'life1 str],
member: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<(bool, bool), DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn check_set_member<'life0, 'life1, 'life2, 'async_trait>(
key_parts: &'life0 [&'life1 str],
member: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<(bool, bool), DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn get_set_size<'life0, 'life1, 'async_trait>(
key_parts: &'life0 [&'life1 str],
) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_set_size<'life0, 'life1, 'async_trait>(
key_parts: &'life0 [&'life1 str],
) -> Pin<Box<dyn Future<Output = Result<Option<usize>, DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn try_from_multiple_sets<'life0, 'life1, 'life2, 'async_trait>(
key_parts_list: &'life0 [&'life1 str],
prefix: Option<String>,
member: Option<&'life2 str>,
limit: Option<usize>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<(Vec<String>, usize, bool)>>, DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn try_from_multiple_sets<'life0, 'life1, 'life2, 'async_trait>(
key_parts_list: &'life0 [&'life1 str],
prefix: Option<String>,
member: Option<&'life2 str>,
limit: Option<usize>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<(Vec<String>, usize, bool)>>, DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn put_multiple_set_indexes<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'async_trait>(
common_key: &'life0 [&'life1 str],
index: &'life2 [&'life3 str],
collections_refs: &'life4 [Vec<&'life5 str>],
prefix: Option<String>,
expiration: Option<i64>,
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
'life5: 'async_trait,
fn put_multiple_set_indexes<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'async_trait>(
common_key: &'life0 [&'life1 str],
index: &'life2 [&'life3 str],
collections_refs: &'life4 [Vec<&'life5 str>],
prefix: Option<String>,
expiration: Option<i64>,
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
'life5: 'async_trait,
Source§fn try_get_random_from_index_set<'life0, 'life1, 'async_trait>(
key_parts: &'life0 [&'life1 str],
count: isize,
prefix: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<String>>, DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn try_get_random_from_index_set<'life0, 'life1, 'async_trait>(
key_parts: &'life0 [&'life1 str],
count: isize,
prefix: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<String>>, DynError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn check_sorted_set_member<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
prefix: Option<&'life0 str>,
key_parts: &'life1 [&'life2 str],
member: &'life3 [&'life4 str],
) -> Pin<Box<dyn Future<Output = Result<Option<isize>, DynError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn check_sorted_set_member<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
prefix: Option<&'life0 str>,
key_parts: &'life1 [&'life2 str],
member: &'life3 [&'life4 str],
) -> Pin<Box<dyn Future<Output = Result<Option<isize>, DynError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Source§fn put_index_sorted_set<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
key_parts: &'life0 [&'life1 str],
elements: &'life2 [(f64, &'life3 str)],
prefix: Option<&'life4 str>,
expiration: Option<i64>,
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn put_index_sorted_set<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
key_parts: &'life0 [&'life1 str],
elements: &'life2 [(f64, &'life3 str)],
prefix: Option<&'life4 str>,
expiration: Option<i64>,
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Source§fn put_score_index_sorted_set<'life0, 'life1, 'life2, 'life3, 'async_trait>(
key_parts: &'life0 [&'life1 str],
member: &'life2 [&'life3 str],
score_mutation: ScoreAction,
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn put_score_index_sorted_set<'life0, 'life1, 'life2, 'life3, 'async_trait>(
key_parts: &'life0 [&'life1 str],
member: &'life2 [&'life3 str],
score_mutation: ScoreAction,
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn remove_from_index_sorted_set<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
prefix: Option<&'life0 str>,
key_parts: &'life1 [&'life2 str],
items: &'life3 [&'life4 str],
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn remove_from_index_sorted_set<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
prefix: Option<&'life0 str>,
key_parts: &'life1 [&'life2 str],
items: &'life3 [&'life4 str],
) -> Pin<Box<dyn Future<Output = Result<(), DynError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Source§fn try_from_index_sorted_set<'life0, 'life1, 'life2, 'async_trait>(
key_parts: &'life0 [&'life1 str],
start: Option<f64>,
end: Option<f64>,
skip: Option<usize>,
limit: Option<usize>,
sorting: SortOrder,
prefix: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<(String, f64)>>, DynError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn try_from_index_sorted_set<'life0, 'life1, 'life2, 'async_trait>(
key_parts: &'life0 [&'life1 str],
start: Option<f64>,
end: Option<f64>,
skip: Option<usize>,
limit: Option<usize>,
sorting: SortOrder,
prefix: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<(String, f64)>>, DynError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn try_from_index_sorted_set_lex<'life0, 'life1, 'life2, 'life3, 'async_trait>(
key_parts: &'life0 [&'life1 str],
min: &'life2 str,
max: &'life3 str,
skip: Option<usize>,
limit: Option<usize>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<String>>, DynError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn try_from_index_sorted_set_lex<'life0, 'life1, 'life2, 'life3, 'async_trait>(
key_parts: &'life0 [&'life1 str],
min: &'life2 str,
max: &'life3 str,
skip: Option<usize>,
limit: Option<usize>,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<String>>, DynError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§impl Serialize for PostStream
impl Serialize for PostStream
Auto Trait Implementations§
impl Freeze for PostStream
impl RefUnwindSafe for PostStream
impl Send for PostStream
impl Sync for PostStream
impl Unpin for PostStream
impl UnsafeUnpin for PostStream
impl UnwindSafe for PostStream
Blanket Implementations§
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request