struct DavFsFile<P, S> {
node: Node,
open: Arc<OpenFile>,
fs: Arc<DavFsInner<P, S>>,
seek: usize,
}Fields§
§node: NodeThe Node this file is for
open: Arc<OpenFile>The OpenFile for this file
fs: Arc<DavFsInner<P, S>>The DavFsInner this file belongs to
seek: usizeThe current seek position
Trait Implementations§
Source§impl<P: Debug + Send + Sync + 'static, S: IndexedFull + Debug + Send + Sync + 'static> DavFile for DavFsFile<P, S>
impl<P: Debug + Send + Sync + 'static, S: IndexedFull + Debug + Send + Sync + 'static> DavFile for DavFsFile<P, S>
fn metadata(&mut self) -> FsFuture<'_, Box<dyn DavMetaData>>
fn write_bytes(&mut self, _buf: Bytes) -> FsFuture<'_, ()>
fn write_buf(&mut self, _buf: Box<dyn Buf + Send>) -> FsFuture<'_, ()>
fn read_bytes(&mut self, count: usize) -> FsFuture<'_, Bytes>
fn seek(&mut self, pos: SeekFrom) -> FsFuture<'_, u64>
fn flush(&mut self) -> FsFuture<'_, ()>
fn redirect_url( &mut self, ) -> Pin<Box<dyn Future<Output = Result<Option<String>, FsError>> + Send + '_>>
Auto Trait Implementations§
impl<P, S> Freeze for DavFsFile<P, S>
impl<P, S> !RefUnwindSafe for DavFsFile<P, S>
impl<P, S> Send for DavFsFile<P, S>
impl<P, S> Sync for DavFsFile<P, S>
impl<P, S> Unpin for DavFsFile<P, S>
impl<P, S> !UnwindSafe for DavFsFile<P, S>
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
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more