Struct crowdstrike_cloudproto::services::lfo::LfoRequest
source · [−]pub struct LfoRequest { /* private fields */ }Expand description
Ask for a single file on a remote LFO server by path.
By default requests indicate support for XZ compression, but this is configurable. Even if a request accepts compression, the server may decide to reply with an uncompressed response if the requested file is itself an archive on disk.
Requests contain the CID (Customer ID) and AID (Agent ID) of the client, but the LFO server will accept any value for these, so in practice no authentication is required.
Implementations
sourceimpl LfoRequest
impl LfoRequest
sourcepub fn new_simple(remote_path: String) -> Self
pub fn new_simple(remote_path: String) -> Self
Create a request for remote_path with default values
pub fn new_custom(
cid: [u8; 16],
aid: [u8; 16],
compression: CompressionFormats,
remote_path: String
) -> Self
Trait Implementations
sourceimpl Clone for LfoRequest
impl Clone for LfoRequest
sourcefn clone(&self) -> LfoRequest
fn clone(&self) -> LfoRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for LfoRequest
impl Debug for LfoRequest
sourceimpl PartialEq<LfoRequest> for LfoRequest
impl PartialEq<LfoRequest> for LfoRequest
sourcefn eq(&self, other: &LfoRequest) -> bool
fn eq(&self, other: &LfoRequest) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Eq for LfoRequest
impl StructuralEq for LfoRequest
impl StructuralPartialEq for LfoRequest
Auto Trait Implementations
impl RefUnwindSafe for LfoRequest
impl Send for LfoRequest
impl Sync for LfoRequest
impl Unpin for LfoRequest
impl UnwindSafe for LfoRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn 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> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more