pub enum MessagingClientRequest {
WatchAccessor {
responder: MessagingClientWatchAccessorResponder,
},
_UnknownMethod {
ordinal: u64,
control_handle: MessagingClientControlHandle,
method_type: MethodType,
},
}
Expand description
Use a MessagingClient to access messages on one or more Instances on Message Access Servers.
Variants§
WatchAccessor
An Accessor
will be returned for each peer as they are
connected, and only one exists at a time for each peer.
Hangs until a new peer becomes available once all connected
peers have been delivered through this protocol.
Returns an error if [WatchAccessor] is called again when there
already is a pending request.
Fields
§
responder: MessagingClientWatchAccessorResponder
_UnknownMethod
An interaction was received which does not match any known method.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
control_handle: MessagingClientControlHandle
§
method_type: MethodType
Implementations§
Source§impl MessagingClientRequest
impl MessagingClientRequest
pub fn into_watch_accessor( self, ) -> Option<MessagingClientWatchAccessorResponder>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MessagingClientRequest
impl !RefUnwindSafe for MessagingClientRequest
impl Send for MessagingClientRequest
impl Sync for MessagingClientRequest
impl Unpin for MessagingClientRequest
impl !UnwindSafe for MessagingClientRequest
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