pub enum AcquireCode {
Context(ContextCode),
Denied,
}Expand description
The acquire failure taxonomy (3.10.3): the context codes and denied,
the source refusing the lookup for this principal. An exchange record
carries either.
Variants§
Context(ContextCode)
Denied
Trait Implementations§
Source§impl Clone for AcquireCode
impl Clone for AcquireCode
impl Copy for AcquireCode
Source§impl Debug for AcquireCode
impl Debug for AcquireCode
Source§impl<'de> Deserialize<'de> for AcquireCode
impl<'de> Deserialize<'de> for AcquireCode
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AcquireCode
Source§impl From<RemoteCode> for AcquireCode
impl From<RemoteCode> for AcquireCode
Source§fn from(code: RemoteCode) -> Self
fn from(code: RemoteCode) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for AcquireCode
impl JsonSchema for AcquireCode
Source§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for AcquireCode
impl PartialEq for AcquireCode
Source§impl Serialize for AcquireCode
impl Serialize for AcquireCode
impl StructuralPartialEq for AcquireCode
Auto Trait Implementations§
impl Freeze for AcquireCode
impl RefUnwindSafe for AcquireCode
impl Send for AcquireCode
impl Sync for AcquireCode
impl Unpin for AcquireCode
impl UnsafeUnpin for AcquireCode
impl UnwindSafe for AcquireCode
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