pub struct DirectoryReadyPayload {
pub name: Option<String>,
pub node: Option<ClientEnd<Channel, Node>>,
}
Expand description
Payload for DirectoryReady events
Fields§
§name: Option<String>
§node: Option<ClientEnd<Channel, Node>>
Trait Implementations§
Source§impl Debug for DirectoryReadyPayload
impl Debug for DirectoryReadyPayload
Source§impl Encodable for DirectoryReadyPayload
impl Encodable for DirectoryReadyPayload
Source§type Encoded = WireDirectoryReadyPayload
type Encoded = WireDirectoryReadyPayload
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<___E> Encode<___E> for DirectoryReadyPayloadwhere
___E: Encoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for DirectoryReadyPayloadwhere
___E: Encoder + ?Sized + HandleEncoder,
Source§impl TakeFrom<WireDirectoryReadyPayload> for DirectoryReadyPayload
impl TakeFrom<WireDirectoryReadyPayload> for DirectoryReadyPayload
Source§fn take_from(from: &WireDirectoryReadyPayload) -> Self
fn take_from(from: &WireDirectoryReadyPayload) -> 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 DirectoryReadyPayload
impl RefUnwindSafe for DirectoryReadyPayload
impl Send for DirectoryReadyPayload
impl Sync for DirectoryReadyPayload
impl Unpin for DirectoryReadyPayload
impl UnwindSafe for DirectoryReadyPayload
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