Struct aws_sdk_datasync::types::FsxProtocol
source · #[non_exhaustive]pub struct FsxProtocol {
pub nfs: Option<FsxProtocolNfs>,
pub smb: Option<FsxProtocolSmb>,
}
Expand description
Specifies the data transfer protocol that DataSync uses to access your Amazon FSx 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.nfs: Option<FsxProtocolNfs>
Specifies the Network File System (NFS) protocol configuration that DataSync uses to access your FSx for OpenZFS file system or FSx for ONTAP file system's storage virtual machine (SVM).
smb: Option<FsxProtocolSmb>
Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your FSx for ONTAP file system's SVM.
Implementations§
source§impl FsxProtocol
impl FsxProtocol
sourcepub fn nfs(&self) -> Option<&FsxProtocolNfs>
pub fn nfs(&self) -> Option<&FsxProtocolNfs>
Specifies the Network File System (NFS) protocol configuration that DataSync uses to access your FSx for OpenZFS file system or FSx for ONTAP file system's storage virtual machine (SVM).
sourcepub fn smb(&self) -> Option<&FsxProtocolSmb>
pub fn smb(&self) -> Option<&FsxProtocolSmb>
Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your FSx for ONTAP file system's SVM.
source§impl FsxProtocol
impl FsxProtocol
sourcepub fn builder() -> FsxProtocolBuilder
pub fn builder() -> FsxProtocolBuilder
Creates a new builder-style object to manufacture FsxProtocol
.
Trait Implementations§
source§impl Clone for FsxProtocol
impl Clone for FsxProtocol
source§fn clone(&self) -> FsxProtocol
fn clone(&self) -> FsxProtocol
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FsxProtocol
impl Debug for FsxProtocol
source§impl PartialEq for FsxProtocol
impl PartialEq for FsxProtocol
impl StructuralPartialEq for FsxProtocol
Auto Trait Implementations§
impl Freeze for FsxProtocol
impl RefUnwindSafe for FsxProtocol
impl Send for FsxProtocol
impl Sync for FsxProtocol
impl Unpin for FsxProtocol
impl UnwindSafe for FsxProtocol
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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