pub enum SessionReadRefusal {
MissingOrExpired,
AuthorityUnavailable,
ScopeRejected,
Revoked,
Unavailable,
}Expand description
SessionReadRefusal
Existing read-refusal discriminants, in their fixed Wire order.
Variants§
MissingOrExpired
No live local session.
Protected authority is not ready.
ScopeRejected
The required scope is not granted.
Revoked
Revocation prevents use.
The read could not be completed.
Trait Implementations§
Source§impl Clone for SessionReadRefusal
impl Clone for SessionReadRefusal
Source§impl Debug for SessionReadRefusal
impl Debug for SessionReadRefusal
Source§impl<'de> Deserialize<'de> for SessionReadRefusal
impl<'de> Deserialize<'de> for SessionReadRefusal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SessionReadRefusal
Source§impl<'__wire_read> Inline<'__wire_read> for SessionReadRefusal
impl<'__wire_read> Inline<'__wire_read> for SessionReadRefusal
Source§type Encoded<'__wire_stage> = __WireEncodedView<'__wire_stage, '__wire_read>where
Self: '__wire_stage,
type Encoded<'__wire_stage> = __WireEncodedView<'__wire_stage, '__wire_read>where
Self: '__wire_stage,
The staged Serde value and its borrowed application data or scratch.
Source§type Decoded = __WireDecodedView<'__wire_read>
type Decoded = __WireDecodedView<'__wire_read>
The raw Serde value to project with the enclosing read context.
Source§impl PartialEq for SessionReadRefusal
impl PartialEq for SessionReadRefusal
Source§impl Serialize for SessionReadRefusal
impl Serialize for SessionReadRefusal
impl StructuralPartialEq for SessionReadRefusal
Source§impl Wire for SessionReadRefusal
impl Wire for SessionReadRefusal
Source§fn schema(__wire_context: &mut SchemaContext) -> Result<Value, GenerationError>
fn schema(__wire_context: &mut SchemaContext) -> Result<Value, GenerationError>
Produce metadata using
context.describe for every nested Rust type. Read moreAuto Trait Implementations§
impl Forget for SessionReadRefusal
impl Freeze for SessionReadRefusal
impl Move for SessionReadRefusal
impl RefUnwindSafe for SessionReadRefusal
impl Send for SessionReadRefusal
impl Sync for SessionReadRefusal
impl Unpin for SessionReadRefusal
impl UnsafeUnpin for SessionReadRefusal
impl UnwindSafe for SessionReadRefusal
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