pub struct MemoryTicketingStore { /* private fields */ }Implementations§
Source§impl MemoryTicketingStore
impl MemoryTicketingStore
pub async fn activity_intents(&self) -> Vec<TicketActivityIntent>
pub async fn fail_next_handoff_commit(&self)
pub async fn ticket_count(&self) -> usize
pub async fn handoff_consumed(&self, digest: &SupportHandoffDigest) -> bool
Trait Implementations§
Source§impl Debug for MemoryTicketingStore
impl Debug for MemoryTicketingStore
Source§impl Default for MemoryTicketingStore
impl Default for MemoryTicketingStore
Source§impl TicketingStore for MemoryTicketingStore
impl TicketingStore for MemoryTicketingStore
fn create<'life0, 'async_trait>(
&'life0 self,
ticket: Ticket,
intent: TicketActivityIntent,
) -> Pin<Box<dyn Future<Output = Result<(), TicketStoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
project_id: &'life1 str,
id: TicketId,
) -> Pin<Box<dyn Future<Output = Result<Option<Ticket>, TicketStoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list<'life0, 'async_trait>(
&'life0 self,
filter: TicketListFilter,
) -> Pin<Box<dyn Future<Output = Result<Vec<Ticket>, TicketStoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn save<'life0, 'async_trait>(
&'life0 self,
ticket: Ticket,
expected_revision: u64,
intent: TicketActivityIntent,
) -> Pin<Box<dyn Future<Output = Result<(), TicketStoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn insert_handoff<'life0, 'async_trait>(
&'life0 self,
handoff: SupportHandoff,
) -> Pin<Box<dyn Future<Output = Result<(), TicketStoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn consume_and_create_ticket<'life0, 'async_trait>(
&'life0 self,
request: ConsumeHandoffRequest,
) -> Pin<Box<dyn Future<Output = Result<ConsumedHandoff, TicketStoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ingest_external_message<'life0, 'async_trait>(
&'life0 self,
request: IngestExternalMessageRequest,
) -> Pin<Box<dyn Future<Output = Result<ExternalMessageIngestResult, TicketStoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ready<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), TicketStoreError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for MemoryTicketingStore
impl !RefUnwindSafe for MemoryTicketingStore
impl Send for MemoryTicketingStore
impl Sync for MemoryTicketingStore
impl Unpin for MemoryTicketingStore
impl UnsafeUnpin for MemoryTicketingStore
impl UnwindSafe for MemoryTicketingStore
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
Mutably borrows from an owned value. Read more
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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> ⓘ
Converts
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> ⓘ
Converts
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