Struct aws_sdk_fsx::model::OpenZfsClientConfiguration
source · [−]#[non_exhaustive]pub struct OpenZfsClientConfiguration {
pub clients: Option<String>,
pub options: Option<Vec<String>>,
}
Expand description
Specifies who can mount an OpenZFS file system and the options available while mounting the file system.
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.clients: Option<String>
A value that specifies who can mount the file system. You can provide a wildcard character (*
), an IP address (0.0.0.0
), or a CIDR address (192.0.2.0/24
). By default, Amazon FSx uses the wildcard character when specifying the client.
options: Option<Vec<String>>
The options to use when mounting the file system. For a list of options that you can use with Network File System (NFS), see the exports(5) - Linux man page. When choosing your options, consider the following:
-
crossmnt
is used by default. If you don't specifycrossmnt
when changing the client configuration, you won't be able to see or access snapshots in your file system's snapshot directory. -
sync
is used by default. If you instead specifyasync
, the system acknowledges writes before writing to disk. If the system crashes before the writes are finished, you lose the unwritten data.
Implementations
sourceimpl OpenZfsClientConfiguration
impl OpenZfsClientConfiguration
sourcepub fn clients(&self) -> Option<&str>
pub fn clients(&self) -> Option<&str>
A value that specifies who can mount the file system. You can provide a wildcard character (*
), an IP address (0.0.0.0
), or a CIDR address (192.0.2.0/24
). By default, Amazon FSx uses the wildcard character when specifying the client.
sourcepub fn options(&self) -> Option<&[String]>
pub fn options(&self) -> Option<&[String]>
The options to use when mounting the file system. For a list of options that you can use with Network File System (NFS), see the exports(5) - Linux man page. When choosing your options, consider the following:
-
crossmnt
is used by default. If you don't specifycrossmnt
when changing the client configuration, you won't be able to see or access snapshots in your file system's snapshot directory. -
sync
is used by default. If you instead specifyasync
, the system acknowledges writes before writing to disk. If the system crashes before the writes are finished, you lose the unwritten data.
sourceimpl OpenZfsClientConfiguration
impl OpenZfsClientConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OpenZfsClientConfiguration
Trait Implementations
sourceimpl Clone for OpenZfsClientConfiguration
impl Clone for OpenZfsClientConfiguration
sourcefn clone(&self) -> OpenZfsClientConfiguration
fn clone(&self) -> OpenZfsClientConfiguration
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 OpenZfsClientConfiguration
impl Debug for OpenZfsClientConfiguration
sourceimpl PartialEq<OpenZfsClientConfiguration> for OpenZfsClientConfiguration
impl PartialEq<OpenZfsClientConfiguration> for OpenZfsClientConfiguration
sourcefn eq(&self, other: &OpenZfsClientConfiguration) -> bool
fn eq(&self, other: &OpenZfsClientConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OpenZfsClientConfiguration) -> bool
fn ne(&self, other: &OpenZfsClientConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for OpenZfsClientConfiguration
Auto Trait Implementations
impl RefUnwindSafe for OpenZfsClientConfiguration
impl Send for OpenZfsClientConfiguration
impl Sync for OpenZfsClientConfiguration
impl Unpin for OpenZfsClientConfiguration
impl UnwindSafe for OpenZfsClientConfiguration
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