pub struct NfsBypassInfo {
pub server_addr: SocketAddr,
pub server_hostname: String,
pub export_path: String,
pub mount_point: PathBuf,
pub v42_confirmed: bool,
pub security: NfsSecurity,
pub transport_security: NfsTransportSecurity,
pub rdma: bool,
}Expand description
Describes an NFS bypass-capable mount point.
Fields§
§server_addr: SocketAddrNFS server address (IP:port, default port 2049).
server_hostname: StringNFS server hostname from mount source (e.g., “awa.3d.ae.net.nz”).
Used for Kerberos service principal construction (nfs/<hostname>@REALM).
export_path: StringNFS export path on the server (e.g., “/vol/data”).
mount_point: PathBufLocal mount point path.
v42_confirmed: boolWhether NFSv4.2 was confirmed in mount options.
security: NfsSecurityAuthentication/security flavor detected from mount options.
transport_security: NfsTransportSecurityTransport-layer security mode from xprtsec= mount option (RFC 9289).
None by default (cleartext TCP); Tls when xprtsec=tls detected.
rdma: boolWhether the mount uses RDMA transport (proto=rdma in mount options).
When true, foxing should use NFS/RDMA (fxcp-core/nfs/rdma_transport.rs)
instead of TCP. Always parsed regardless of rdma feature flag.
Trait Implementations§
Source§impl Clone for NfsBypassInfo
impl Clone for NfsBypassInfo
Source§fn clone(&self) -> NfsBypassInfo
fn clone(&self) -> NfsBypassInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NfsBypassInfo
impl Debug for NfsBypassInfo
Auto Trait Implementations§
impl Freeze for NfsBypassInfo
impl RefUnwindSafe for NfsBypassInfo
impl Send for NfsBypassInfo
impl Sync for NfsBypassInfo
impl Unpin for NfsBypassInfo
impl UnsafeUnpin for NfsBypassInfo
impl UnwindSafe for NfsBypassInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
Converts
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>
Converts
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§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.