pub enum SessionReadRefusal {
MissingOrExpired,
AuthorityUnavailable,
ScopeRejected,
Revoked,
Unavailable,
}Expand description
Wire representation of ic_auth_protocol_types::SessionReadRefusal, preserving its domain meanings.
Variants§
MissingOrExpired
Transport tag for ic_auth_protocol_types::SessionReadRefusal::MissingOrExpired.
Transport tag for ic_auth_protocol_types::SessionReadRefusal::AuthorityUnavailable.
ScopeRejected
Transport tag for ic_auth_protocol_types::SessionReadRefusal::ScopeRejected.
Revoked
Transport tag for ic_auth_protocol_types::SessionReadRefusal::Revoked.
Transport tag for ic_auth_protocol_types::SessionReadRefusal::Unavailable.
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 From<SessionReadRefusal> for SessionReadRefusal
impl From<SessionReadRefusal> for SessionReadRefusal
Source§fn from(value: SessionReadRefusal) -> Self
fn from(value: SessionReadRefusal) -> Self
Converts to this type from the input type.
Source§impl From<SessionReadRefusal> for SessionReadRefusal
impl From<SessionReadRefusal> for SessionReadRefusal
Source§fn from(value: SessionReadRefusal) -> Self
fn from(value: SessionReadRefusal) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SessionReadRefusal
impl PartialEq for SessionReadRefusal
Source§impl Serialize for SessionReadRefusal
impl Serialize for SessionReadRefusal
impl StructuralPartialEq for SessionReadRefusal
Auto 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