pub struct NfsServer<F: NfsFileSystem> { /* private fields */ }Expand description
The NFS server.
Implementations§
Source§impl<F: NfsFileSystem> NfsServer<F>
impl<F: NfsFileSystem> NfsServer<F>
Sourcepub async fn serve(self, listener: TcpListener) -> Result<()>
pub async fn serve(self, listener: TcpListener) -> Result<()>
Serve on an already-bound TCP listener. Returns the local address.
Auto Trait Implementations§
impl<F> Freeze for NfsServer<F>
impl<F> !RefUnwindSafe for NfsServer<F>
impl<F> Send for NfsServer<F>
impl<F> Sync for NfsServer<F>
impl<F> Unpin for NfsServer<F>
impl<F> UnsafeUnpin for NfsServer<F>
impl<F> !UnwindSafe for NfsServer<F>
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