Enum google_api_proto::google::cloud::filestore::v1beta1::nfs_export_options::SecurityFlavor
source · #[repr(i32)]pub enum SecurityFlavor {
Unspecified = 0,
AuthSys = 1,
Krb5 = 2,
Krb5i = 3,
Krb5p = 4,
}
Expand description
The security flavor. In general, a “flavor” represents a designed process or system. A “security flavor” is a system designed for the purpose of authenticating a data originator (client), recipient (server), and the data they transmit between one another.
Variants§
Unspecified = 0
SecurityFlavor not set.
AuthSys = 1
The user’s UNIX user-id and group-ids are transferred “in the clear” (not encrypted) on the network, unauthenticated by the NFS server (default).
Krb5 = 2
End-user authentication through Kerberos V5.
Krb5i = 3
krb5 plus integrity protection (data packets are tamper proof).
Krb5p = 4
krb5i plus privacy protection (data packets are tamper proof and encrypted).
Implementations§
source§impl SecurityFlavor
impl SecurityFlavor
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for SecurityFlavor
impl Clone for SecurityFlavor
source§fn clone(&self) -> SecurityFlavor
fn clone(&self) -> SecurityFlavor
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SecurityFlavor
impl Debug for SecurityFlavor
source§impl Default for SecurityFlavor
impl Default for SecurityFlavor
source§fn default() -> SecurityFlavor
fn default() -> SecurityFlavor
source§impl From<SecurityFlavor> for i32
impl From<SecurityFlavor> for i32
source§fn from(value: SecurityFlavor) -> i32
fn from(value: SecurityFlavor) -> i32
source§impl Hash for SecurityFlavor
impl Hash for SecurityFlavor
source§impl Ord for SecurityFlavor
impl Ord for SecurityFlavor
source§fn cmp(&self, other: &SecurityFlavor) -> Ordering
fn cmp(&self, other: &SecurityFlavor) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for SecurityFlavor
impl PartialEq for SecurityFlavor
source§fn eq(&self, other: &SecurityFlavor) -> bool
fn eq(&self, other: &SecurityFlavor) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SecurityFlavor
impl PartialOrd for SecurityFlavor
source§fn partial_cmp(&self, other: &SecurityFlavor) -> Option<Ordering>
fn partial_cmp(&self, other: &SecurityFlavor) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for SecurityFlavor
impl TryFrom<i32> for SecurityFlavor
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<SecurityFlavor, DecodeError>
fn try_from(value: i32) -> Result<SecurityFlavor, DecodeError>
impl Copy for SecurityFlavor
impl Eq for SecurityFlavor
impl StructuralPartialEq for SecurityFlavor
Auto Trait Implementations§
impl Freeze for SecurityFlavor
impl RefUnwindSafe for SecurityFlavor
impl Send for SecurityFlavor
impl Sync for SecurityFlavor
impl Unpin for SecurityFlavor
impl UnwindSafe for SecurityFlavor
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request