#[repr(C, packed(1))]pub struct CreateReply {
pub status: u32,
pub ino: u64,
}Expand description
Create reply.
Wire layout:
status @ 0..4, ino @ 4..12.
§Wire-compatibility note
Earlier documentation claimed _pad @ 4..8, ino @ 8..16; the real
wire packs the inode directly after the status (what the kernel VFS
client parses).
Fields§
§status: u32Status code: 0 = success.
ino: u64Inode number of the newly created file/directory.
Trait Implementations§
Source§impl Clone for CreateReply
impl Clone for CreateReply
Source§fn clone(&self) -> CreateReply
fn clone(&self) -> CreateReply
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CreateReply
Auto Trait Implementations§
impl Freeze for CreateReply
impl RefUnwindSafe for CreateReply
impl Send for CreateReply
impl Sync for CreateReply
impl Unpin for CreateReply
impl UnsafeUnpin for CreateReply
impl UnwindSafe for CreateReply
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