pub struct NodeAddChildRequest {
pub args: NodeAddArgs,
pub controller: ServerEnd<Channel, NodeController>,
pub node: ServerEnd<Option<Channel>, Node>,
}
Fields§
§args: NodeAddArgs
§controller: ServerEnd<Channel, NodeController>
§node: ServerEnd<Option<Channel>, Node>
Trait Implementations§
Source§impl Debug for NodeAddChildRequest
impl Debug for NodeAddChildRequest
Source§impl Encodable for NodeAddChildRequest
impl Encodable for NodeAddChildRequest
Source§type Encoded = WireNodeAddChildRequest
type Encoded = WireNodeAddChildRequest
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<NodeAddChildRequest>
impl EncodableOption for Box<NodeAddChildRequest>
Source§type EncodedOption = WireBox<WireNodeAddChildRequest>
type EncodedOption = WireBox<WireNodeAddChildRequest>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for NodeAddChildRequestwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
impl<___E> Encode<___E> for NodeAddChildRequestwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
Source§impl<___E> EncodeOption<___E> for Box<NodeAddChildRequest>where
___E: Encoder + ?Sized,
NodeAddChildRequest: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<NodeAddChildRequest>where
___E: Encoder + ?Sized,
NodeAddChildRequest: 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<WireNodeAddChildRequest> for NodeAddChildRequest
impl TakeFrom<WireNodeAddChildRequest> for NodeAddChildRequest
Source§fn take_from(from: &WireNodeAddChildRequest) -> Self
fn take_from(from: &WireNodeAddChildRequest) -> 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 NodeAddChildRequest
impl RefUnwindSafe for NodeAddChildRequest
impl Send for NodeAddChildRequest
impl Sync for NodeAddChildRequest
impl Unpin for NodeAddChildRequest
impl UnwindSafe for NodeAddChildRequest
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