pub enum MessageControllerRequest {
GetDetails {
handle: u64,
include_attachment: bool,
responder: MessageControllerGetDetailsResponder,
},
_UnknownMethod {
ordinal: u64,
control_handle: MessageControllerControlHandle,
method_type: MethodType,
},
}
Variants§
GetDetails
Retrieve all available message details.
- request
handle
Unique identifier for a Messsage. - request
include_attachment
Whether or not attachment should be included as part of Message content if it’s available.
- response NOT_FOUND error is returned if the message with the given handle does not exist.
_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: MessageControllerControlHandle
§
method_type: MethodType
Implementations§
Source§impl MessageControllerRequest
impl MessageControllerRequest
pub fn into_get_details( self, ) -> Option<(u64, bool, MessageControllerGetDetailsResponder)>
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 MessageControllerRequest
impl !RefUnwindSafe for MessageControllerRequest
impl Send for MessageControllerRequest
impl Sync for MessageControllerRequest
impl Unpin for MessageControllerRequest
impl !UnwindSafe for MessageControllerRequest
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