[−][src]Enum onc_rpc::RejectedReply
The response type for a rejected RPC invocation.
Variants
The RPC version was not serviceable.
Only RPC version 2 is supported.
Fields of RpcVersionMismatch
AuthError(AuthError)The authentication credentials included in the request (if any) were rejected.
Implementations
impl RejectedReply[src]
pub fn serialise_into(&self, buf: &mut Cursor<Vec<u8>>) -> Result<(), Error>[src]
Serialises this RejectedReply into buf, advancing the cursor
position by serialised_len bytes.
pub fn serialised_len(&self) -> u32[src]
Returns the on-wire length of this reply body once serialised.
Trait Implementations
impl Debug for RejectedReply[src]
impl PartialEq<RejectedReply> for RejectedReply[src]
pub fn eq(&self, other: &RejectedReply) -> bool[src]
pub fn ne(&self, other: &RejectedReply) -> bool[src]
impl StructuralPartialEq for RejectedReply[src]
impl TryFrom<&'_ [u8]> for RejectedReply[src]
type Error = Error
The type returned in the event of a conversion error.
pub fn try_from(v: &[u8]) -> Result<Self, Self::Error>[src]
impl TryFrom<Bytes> for RejectedReply[src]
Auto Trait Implementations
impl RefUnwindSafe for RejectedReply[src]
impl Send for RejectedReply[src]
impl Sync for RejectedReply[src]
impl Unpin for RejectedReply[src]
impl UnwindSafe for RejectedReply[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,