pub enum BearerCredentialFileCause {
UnsupportedPlatform,
NotFound,
ReadDenied,
NotRegular,
WrongOwner,
Permissions,
FileChanged,
InvalidLength,
InvalidPresentation,
EffectiveUserUnavailable,
Unavailable,
}Expand description
Closed cause observed by the original protected-file check.
Variants§
UnsupportedPlatform
The platform cannot implement the protected procedure.
NotFound
A file or ancestor was absent at an actual metadata/open operation.
ReadDenied
A metadata/open/read operation was refused for permissions.
NotRegular
The opened target was not a regular file (including links).
WrongOwner
The opened file belonged to another effective user.
Permissions
Group or other users had file access.
FileChanged
The opened file identity differed from the original observation.
InvalidLength
The bounded read did not contain exactly one 43-byte presentation.
InvalidPresentation
The exact presentation failed the existing bearer validator.
The effective user could not be established under its bounded rule.
Another local I/O or metadata observation was unavailable.
Implementations§
Trait Implementations§
Source§impl Clone for BearerCredentialFileCause
impl Clone for BearerCredentialFileCause
Source§fn clone(&self) -> BearerCredentialFileCause
fn clone(&self) -> BearerCredentialFileCause
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BearerCredentialFileCause
Source§impl Debug for BearerCredentialFileCause
impl Debug for BearerCredentialFileCause
impl Eq for BearerCredentialFileCause
impl StructuralPartialEq for BearerCredentialFileCause
Auto Trait Implementations§
impl Freeze for BearerCredentialFileCause
impl RefUnwindSafe for BearerCredentialFileCause
impl Send for BearerCredentialFileCause
impl Sync for BearerCredentialFileCause
impl Unpin for BearerCredentialFileCause
impl UnsafeUnpin for BearerCredentialFileCause
impl UnwindSafe for BearerCredentialFileCause
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<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
Checks if this value is equivalent to the given key. Read more
§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
Compare self to
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> ⓘ
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].