pub struct TeeProofGenerationDal<'a, 'c> { /* private fields */ }
Implementations§
source§impl TeeProofGenerationDal<'_, '_>
impl TeeProofGenerationDal<'_, '_>
pub async fn get_next_block_to_be_proven( &mut self, processing_timeout: Duration, ) -> DalResult<Option<L1BatchNumber>>
pub async fn save_proof_artifacts_metadata( &mut self, block_number: L1BatchNumber, signature: &[u8], pubkey: &[u8], proof: &[u8], tee_type: TeeType, ) -> DalResult<()>
pub async fn insert_tee_proof_generation_job( &mut self, block_number: L1BatchNumber, ) -> DalResult<()>
pub async fn get_oldest_unpicked_batch( &mut self, ) -> DalResult<Option<L1BatchNumber>>
pub async fn save_attestation( &mut self, pubkey: &[u8], attestation: &[u8], ) -> DalResult<()>
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'c> Freeze for TeeProofGenerationDal<'a, 'c>
impl<'a, 'c> !RefUnwindSafe for TeeProofGenerationDal<'a, 'c>
impl<'a, 'c> Send for TeeProofGenerationDal<'a, 'c>
impl<'a, 'c> Sync for TeeProofGenerationDal<'a, 'c>
impl<'a, 'c> Unpin for TeeProofGenerationDal<'a, 'c>
impl<'a, 'c> !UnwindSafe for TeeProofGenerationDal<'a, 'c>
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
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> 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 moresource§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>
Wrap the input message
T
in a tonic::Request