pub struct Reply<'o, O: Operation<'o>> { /* private fields */ }Implementations§
Source§impl<'o, O: Operation<'o>> Reply<'o, O>
impl<'o, O: Operation<'o>> Reply<'o, O>
pub async fn interruptible<F, T>(self, f: F) -> Interruptible<'o, O, T>where
F: Future<Output = T>,
pub fn and_then<T, E>(
self,
result: Result<T, E>,
) -> Result<(Self, T), Failed<'o, E>>where
E: Finish<'o, O>,
pub fn fail(self, errno: Errno) -> Done<'o>
pub fn not_implemented(self) -> Done<'o>
pub fn not_permitted(self) -> Done<'o>
pub fn io_error(self) -> Done<'o>
pub fn invalid_argument(self) -> Done<'o>
pub fn interrupted(self) -> Done<'o>
Source§impl<'o, O: Operation<'o>> Reply<'o, O>
impl<'o, O: Operation<'o>> Reply<'o, O>
pub fn ok(self) -> Done<'o>where
O: ReplyOk<'o>,
pub fn known(self, entry: impl Known, ttl: Ttl) -> Done<'o>where
O: ReplyKnown<'o>,
pub fn not_found(self) -> Done<'o>where
O: ReplyNotFound<'o>,
pub fn permission_denied(self) -> Done<'o>where
O: ReplyPermissionDenied<'o>,
pub fn stat(self, inode: &impl Stat) -> Done<'o>where
O: ReplyStat<'o>,
pub fn ok_with_handle(self, handle: u64) -> Done<'o>
pub fn known_with_handle(
self,
known: impl Known,
ttl: Ttl,
handle: u64,
) -> Done<'o>where
O: ReplyOpen<'o> + ReplyKnown<'o>,
pub fn force_direct_io(&mut self)where
O: ReplyOpen<'o>,
pub fn non_seekable(&mut self)where
O: ReplyOpen<'o>,
pub fn is_stream(&mut self)where
O: ReplyOpen<'o>,
pub fn not_found_for(self, ttl: Ttl) -> Done<'o>where
O: ReplyFound<'o>,
pub fn entry(self, entry: Entry<'_, impl Known>) -> Interruptible<'o, O, ()>where
O: ReplyEntries<'o>,
pub fn end(self) -> Done<'o>where
O: ReplyEntries<'o>,
pub fn all(self) -> Done<'o>where
O: ReplyAll<'o>,
pub fn buffered<B>(self, buffer: B) -> Reply<'o, O::Buffered>
pub fn blob(self, blob: impl AsRef<OsStr>) -> Done<'o>where
O: ReplyGather<'o>,
pub fn slice(self, slice: impl AsRef<[u8]>) -> Done<'o>where
O: ReplyGather<'o>,
pub fn gather(self, fragments: &[&[u8]]) -> Done<'o>where
O: ReplyGather<'o>,
pub fn info(self, info: &FsInfo) -> Done<'o>where
O: ReplyFsInfo<'o>,
pub fn requires_size(self, size: u32) -> Done<'o>where
O: ReplyXattrRead<'o>,
pub fn buffer_too_small(self) -> Done<'o>where
O: ReplyXattrRead<'o>,
pub fn block(self, block: u64) -> Done<'o>where
O: ReplyBlock<'o>,
Auto Trait Implementations§
impl<'o, O> Freeze for Reply<'o, O>
impl<'o, O> !RefUnwindSafe for Reply<'o, O>
impl<'o, O> Send for Reply<'o, O>
impl<'o, O> Sync for Reply<'o, O>
impl<'o, O> Unpin for Reply<'o, O>
impl<'o, O> !UnwindSafe for Reply<'o, O>
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