pub struct RejectedKey { /* private fields */ }Available on crate feature
config only.Implementations§
Source§impl RejectedKey
impl RejectedKey
pub fn key<T>(self, value: T) -> RejectedKey
pub fn reason<T>(self, value: T) -> RejectedKey
Trait Implementations§
Source§impl Clone for RejectedKey
impl Clone for RejectedKey
Source§fn clone(&self) -> RejectedKey
fn clone(&self) -> RejectedKey
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 moreSource§impl Debug for RejectedKey
impl Debug for RejectedKey
Source§impl Default for RejectedKey
impl Default for RejectedKey
Source§fn default() -> RejectedKey
fn default() -> RejectedKey
Returns the “default value” for a type. Read more
Source§impl From<RejectedKey> for RejectedKey
impl From<RejectedKey> for RejectedKey
Source§fn from(value: RejectedKey) -> RejectedKey
fn from(value: RejectedKey) -> RejectedKey
Converts to this type from the input type.
Source§impl TryFrom<RejectedKey> for RejectedKey
impl TryFrom<RejectedKey> for RejectedKey
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: RejectedKey) -> Result<RejectedKey, ConversionError>
fn try_from(value: RejectedKey) -> Result<RejectedKey, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RejectedKey
impl RefUnwindSafe for RejectedKey
impl Send for RejectedKey
impl Sync for RejectedKey
impl Unpin for RejectedKey
impl UnsafeUnpin for RejectedKey
impl UnwindSafe for RejectedKey
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> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
impl<T> Clear for Twhere
T: InitializableFromZeroed + ?Sized,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InitializableFromZeroed for Twhere
T: Default,
impl<T> InitializableFromZeroed for Twhere
T: Default,
Source§unsafe fn initialize(place: *mut T)
unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set
to all-bits-zero. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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>
Wrap the input message
T in a tonic::RequestSource§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.