pub struct DirectoryCreateSymlinkRequest {
pub name: String,
pub target: Vec<u8>,
pub connection: ServerEnd<Option<Channel>, Symlink>,
}
Fields§
§name: String
§target: Vec<u8>
§connection: ServerEnd<Option<Channel>, Symlink>
Trait Implementations§
Source§impl Encodable for DirectoryCreateSymlinkRequest
impl Encodable for DirectoryCreateSymlinkRequest
Source§type Encoded = WireDirectoryCreateSymlinkRequest
type Encoded = WireDirectoryCreateSymlinkRequest
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<DirectoryCreateSymlinkRequest>
impl EncodableOption for Box<DirectoryCreateSymlinkRequest>
Source§type EncodedOption = WireBox<WireDirectoryCreateSymlinkRequest>
type EncodedOption = WireBox<WireDirectoryCreateSymlinkRequest>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for DirectoryCreateSymlinkRequestwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
impl<___E> Encode<___E> for DirectoryCreateSymlinkRequestwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
Source§impl<___E> EncodeOption<___E> for Box<DirectoryCreateSymlinkRequest>where
___E: Encoder + ?Sized,
DirectoryCreateSymlinkRequest: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<DirectoryCreateSymlinkRequest>where
___E: Encoder + ?Sized,
DirectoryCreateSymlinkRequest: 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<WireDirectoryCreateSymlinkRequest> for DirectoryCreateSymlinkRequest
impl TakeFrom<WireDirectoryCreateSymlinkRequest> for DirectoryCreateSymlinkRequest
Source§fn take_from(from: &WireDirectoryCreateSymlinkRequest) -> Self
fn take_from(from: &WireDirectoryCreateSymlinkRequest) -> 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 DirectoryCreateSymlinkRequest
impl RefUnwindSafe for DirectoryCreateSymlinkRequest
impl Send for DirectoryCreateSymlinkRequest
impl Sync for DirectoryCreateSymlinkRequest
impl Unpin for DirectoryCreateSymlinkRequest
impl UnwindSafe for DirectoryCreateSymlinkRequest
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