pub struct FsResponse {
pub ok: bool,
pub error: Option<String>,
pub data: Option<FsResponseData>,
}Expand description
Terminal response for a filesystem operation.
This is always the last message sent for a given correlation ID.
For streaming reads, it follows the FsData chunks.
For simple operations, it carries the result directly.
Fields§
§ok: boolWhether the operation succeeded.
error: Option<String>Error message if ok is false.
data: Option<FsResponseData>Optional result data (for stat/list operations).
Trait Implementations§
Source§impl Clone for FsResponse
impl Clone for FsResponse
Source§fn clone(&self) -> FsResponse
fn clone(&self) -> FsResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FsResponse
impl Debug for FsResponse
Source§impl<'de> Deserialize<'de> for FsResponse
impl<'de> Deserialize<'de> for FsResponse
Source§fn 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
Auto Trait Implementations§
impl Freeze for FsResponse
impl RefUnwindSafe for FsResponse
impl Send for FsResponse
impl Sync for FsResponse
impl Unpin for FsResponse
impl UnsafeUnpin for FsResponse
impl UnwindSafe for FsResponse
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