Struct teaclave_types::TaskFiles
source · [−]pub struct TaskFiles<T: Clone> { /* private fields */ }
Implementations
sourceimpl<T> TaskFiles<T>where
T: Clone + Storable,
impl<T> TaskFiles<T>where
T: Clone + Storable,
pub fn assign(&mut self, fname: &str, file: T) -> Result<()>
pub fn keys(&self) -> Keys<'_, String, T>
pub fn external_ids(&self) -> HashMap<String, ExternalID>
sourceimpl TaskFiles<TeaclaveOutputFile>
impl TaskFiles<TeaclaveOutputFile>
pub fn update_cmac(
&mut self,
fname: &str,
auth_tag: &FileAuthTag
) -> Result<&TeaclaveOutputFile>
Trait Implementations
sourceimpl<'de, T: Clone> Deserialize<'de> for TaskFiles<T>where
T: Deserialize<'de>,
impl<'de, T: Clone> Deserialize<'de> for TaskFiles<T>where
T: Deserialize<'de>,
sourcefn 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>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<TaskFiles<TeaclaveInputFile>> for FunctionInputFiles
impl From<TaskFiles<TeaclaveInputFile>> for FunctionInputFiles
sourcefn from(files: TaskFiles<TeaclaveInputFile>) -> Self
fn from(files: TaskFiles<TeaclaveInputFile>) -> Self
Converts to this type from the input type.
sourceimpl From<TaskFiles<TeaclaveOutputFile>> for FunctionOutputFiles
impl From<TaskFiles<TeaclaveOutputFile>> for FunctionOutputFiles
sourcefn from(files: TaskFiles<TeaclaveOutputFile>) -> Self
fn from(files: TaskFiles<TeaclaveOutputFile>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl<T> RefUnwindSafe for TaskFiles<T>where
T: RefUnwindSafe,
impl<T> Send for TaskFiles<T>where
T: Send,
impl<T> Sync for TaskFiles<T>where
T: Sync,
impl<T> Unpin for TaskFiles<T>where
T: Unpin,
impl<T> UnwindSafe for TaskFiles<T>where
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more