Enum fuse::filesystem::GetxattrReply
source · pub enum GetxattrReply {
Value(Vec<u8>),
Count(u32),
}
Expand description
A reply to a getxattr
method call.
Variants§
Value(Vec<u8>)
The value of the requested extended attribute. This can be arbitrary textual or binary data and does not need to be nul-terminated.
Count(u32)
The size of the buffer needed to hold the value of the requested extended attribute. Should
be returned when the size
parameter is 0. Callers should note that it is still possible
for the size of the value to change in between getxattr
calls and should not assume that
a subsequent call to getxattr
with the returned count will always succeed.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for GetxattrReply
impl Send for GetxattrReply
impl Sync for GetxattrReply
impl Unpin for GetxattrReply
impl UnwindSafe for GetxattrReply
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