pub enum DirEntryRouterRouteResponse {
DirEntry(DirEntry),
Unavailable(Unit),
}
Variants§
Trait Implementations§
Source§impl Debug for DirEntryRouterRouteResponse
impl Debug for DirEntryRouterRouteResponse
Source§impl Encodable for DirEntryRouterRouteResponse
impl Encodable for DirEntryRouterRouteResponse
Source§type Encoded = WireDirEntryRouterRouteResponse
type Encoded = WireDirEntryRouterRouteResponse
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl EncodableOption for Box<DirEntryRouterRouteResponse>
impl EncodableOption for Box<DirEntryRouterRouteResponse>
Source§type EncodedOption = WireOptionalDirEntryRouterRouteResponse
type EncodedOption = WireOptionalDirEntryRouterRouteResponse
The wire type for the optional value.
Source§impl<___E> Encode<___E> for DirEntryRouterRouteResponsewhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for DirEntryRouterRouteResponsewhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§impl<___E> EncodeOption<___E> for Box<DirEntryRouterRouteResponse>where
___E: ?Sized,
DirEntryRouterRouteResponse: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<DirEntryRouterRouteResponse>where
___E: ?Sized,
DirEntryRouterRouteResponse: Encode<___E>,
Source§fn encode_option(
this: Option<&mut Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<&mut Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl TakeFrom<WireDirEntryRouterRouteResponse> for DirEntryRouterRouteResponse
impl TakeFrom<WireDirEntryRouterRouteResponse> for DirEntryRouterRouteResponse
Source§fn take_from(from: &WireDirEntryRouterRouteResponse) -> Self
fn take_from(from: &WireDirEntryRouterRouteResponse) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for DirEntryRouterRouteResponse
impl RefUnwindSafe for DirEntryRouterRouteResponse
impl Send for DirEntryRouterRouteResponse
impl Sync for DirEntryRouterRouteResponse
impl Unpin for DirEntryRouterRouteResponse
impl UnwindSafe for DirEntryRouterRouteResponse
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