#[repr(C)]pub struct DirectoryWatchRequest {
pub mask: WatchMask,
pub options: u32,
pub watcher: ServerEnd<Channel, DirectoryWatcher>,
}
Fields§
§mask: WatchMask
§options: u32
§watcher: ServerEnd<Channel, DirectoryWatcher>
Trait Implementations§
Source§impl Debug for DirectoryWatchRequest
impl Debug for DirectoryWatchRequest
Source§impl Encodable for DirectoryWatchRequest
impl Encodable for DirectoryWatchRequest
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, WireDirectoryWatchRequest>
const COPY_OPTIMIZATION: CopyOptimization<Self, WireDirectoryWatchRequest>
Whether the conversion from
Self
to Self::Encoded
is equivalent to copying the raw bytes
of Self
. Read moreSource§type Encoded = WireDirectoryWatchRequest
type Encoded = WireDirectoryWatchRequest
The wire type for the value.
Source§impl EncodableOption for DirectoryWatchRequest
impl EncodableOption for DirectoryWatchRequest
Source§type EncodedOption = WireBox<'static, WireDirectoryWatchRequest>
type EncodedOption = WireBox<'static, WireDirectoryWatchRequest>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for DirectoryWatchRequestwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for DirectoryWatchRequestwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§impl<___E> EncodeOption<___E> for DirectoryWatchRequestwhere
___E: Encoder + ?Sized,
DirectoryWatchRequest: Encode<___E>,
impl<___E> EncodeOption<___E> for DirectoryWatchRequestwhere
___E: Encoder + ?Sized,
DirectoryWatchRequest: Encode<___E>,
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWire<WireDirectoryWatchRequest> for DirectoryWatchRequest
impl FromWire<WireDirectoryWatchRequest> for DirectoryWatchRequest
Source§const COPY_OPTIMIZATION: CopyOptimization<WireDirectoryWatchRequest, Self>
const COPY_OPTIMIZATION: CopyOptimization<WireDirectoryWatchRequest, Self>
Source§fn from_wire(wire: WireDirectoryWatchRequest) -> Self
fn from_wire(wire: WireDirectoryWatchRequest) -> Self
Converts the given
wire
to this type.Auto Trait Implementations§
impl Freeze for DirectoryWatchRequest
impl RefUnwindSafe for DirectoryWatchRequest
impl Send for DirectoryWatchRequest
impl Sync for DirectoryWatchRequest
impl Unpin for DirectoryWatchRequest
impl UnwindSafe for DirectoryWatchRequest
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
Converts the given
wire
to an option of this type.