Struct teaclave_types::FileAgentRequest
source · [−]pub struct FileAgentRequest {
pub cmd: HandleFileCommand,
pub info: Vec<HandleFileInfo>,
pub fusion_base: PathBuf,
}
Fields
cmd: HandleFileCommand
info: Vec<HandleFileInfo>
fusion_base: PathBuf
Implementations
sourceimpl FileAgentRequest
impl FileAgentRequest
pub fn new<T: IntoIterator>(
cmd: HandleFileCommand,
info: T,
fusion_base: impl AsRef<Path>
) -> Selfwhere
<T as IntoIterator>::Item: Into<HandleFileInfo>,
Trait Implementations
sourceimpl Debug for FileAgentRequest
impl Debug for FileAgentRequest
sourceimpl<'de> Deserialize<'de> for FileAgentRequest
impl<'de> Deserialize<'de> for FileAgentRequest
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 Serialize for FileAgentRequest
impl Serialize for FileAgentRequest
Auto Trait Implementations
impl RefUnwindSafe for FileAgentRequest
impl Send for FileAgentRequest
impl Sync for FileAgentRequest
impl Unpin for FileAgentRequest
impl UnwindSafe for FileAgentRequest
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