Struct crowdstrike_cloudproto::services::lfo::LfoClient
source · pub struct LfoClient<IO: AsyncRead + AsyncWrite> { /* private fields */ }
Expand description
Request files stored on an LFO file server.
Implementations§
source§impl<IO> LfoClient<IO>where
IO: AsyncRead + AsyncWrite,
impl<IO> LfoClient<IO>where IO: AsyncRead + AsyncWrite,
pub fn new(sock: CloudProtoSocket<IO>) -> Self
sourcepub async fn get(
&mut self,
request: &LfoRequest
) -> Result<LfoResponse, LfoError>
pub async fn get( &mut self, request: &LfoRequest ) -> Result<LfoResponse, LfoError>
Download the file at the remote path specified in the LfoRequest
.