Struct aws_sdk_datasync::model::NfsMountOptions
source · [−]#[non_exhaustive]pub struct NfsMountOptions {
pub version: Option<NfsVersion>,
}
Expand description
Represents the mount options that are available for DataSync to access an NFS location.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.version: Option<NfsVersion>
The specific NFS version that you want DataSync to use to mount your NFS share. If the server refuses to use the version specified, the sync will fail. If you don't specify a version, DataSync defaults to AUTOMATIC
. That is, DataSync automatically selects a version based on negotiation with the NFS server.
You can specify the following NFS versions:
-
NFSv3 - 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. Version 4.1 also includes all features available in version 4.0.
Implementations
sourceimpl NfsMountOptions
impl NfsMountOptions
sourcepub fn version(&self) -> Option<&NfsVersion>
pub fn version(&self) -> Option<&NfsVersion>
The specific NFS version that you want DataSync to use to mount your NFS share. If the server refuses to use the version specified, the sync will fail. If you don't specify a version, DataSync defaults to AUTOMATIC
. That is, DataSync automatically selects a version based on negotiation with the NFS server.
You can specify the following NFS versions:
-
NFSv3 - 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. Version 4.1 also includes all features available in version 4.0.
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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