Struct aws_sdk_datasync::model::NfsMountOptions
source · [−]#[non_exhaustive]pub struct NfsMountOptions { /* private fields */ }
Expand description
Specifies how DataSync can access a location using the NFS protocol.
Implementations
sourceimpl NfsMountOptions
impl NfsMountOptions
sourcepub fn version(&self) -> Option<&NfsVersion>
pub fn version(&self) -> Option<&NfsVersion>
Specifies the NFS version that you want DataSync to use when mounting your NFS share. If the server refuses to use the version specified, the task fails.
You can specify the following options:
-
AUTOMATIC
(default): DataSync chooses NFS version 4.1. -
NFS3
: Stateless protocol version that allows for asynchronous writes on the server. -
NFSv4_0
: Stateful, firewall-friendly protocol version that supports delegations and pseudo file systems. -
NFSv4_1
: Stateful protocol version that supports sessions, directory delegations, and parallel data processing. NFS version 4.1 also includes all features available in version 4.0.
DataSync currently only supports NFS version 3 with Amazon FSx for NetApp ONTAP locations.
sourceimpl NfsMountOptions
impl NfsMountOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NfsMountOptions
.
Trait Implementations
sourceimpl Clone for NfsMountOptions
impl Clone for NfsMountOptions
sourcefn clone(&self) -> NfsMountOptions
fn clone(&self) -> NfsMountOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NfsMountOptions
impl Debug for NfsMountOptions
sourceimpl PartialEq<NfsMountOptions> for NfsMountOptions
impl PartialEq<NfsMountOptions> for NfsMountOptions
sourcefn eq(&self, other: &NfsMountOptions) -> bool
fn eq(&self, other: &NfsMountOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NfsMountOptions) -> bool
fn ne(&self, other: &NfsMountOptions) -> bool
This method tests for !=
.
impl StructuralPartialEq for NfsMountOptions
Auto Trait Implementations
impl RefUnwindSafe for NfsMountOptions
impl Send for NfsMountOptions
impl Sync for NfsMountOptions
impl Unpin for NfsMountOptions
impl UnwindSafe for NfsMountOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more