pub enum BankAccountRequest {
ReadOnly(ReadOnlyAccountRequestStream),
ReadWrite(ReadWriteAccountRequestStream),
}
Expand description
A request for one of the member protocols of BankAccount.
A Service representing a BankAccount, with two views of the data: read-only, and read-write.
Variants§
ReadOnly(ReadOnlyAccountRequestStream)
ReadWrite(ReadWriteAccountRequestStream)
Trait Implementations§
Source§impl ServiceRequest for BankAccountRequest
impl ServiceRequest for BankAccountRequest
Source§type Service = BankAccountMarker
type Service = BankAccountMarker
The FIDL service for which this request is destined.
Source§fn dispatch(name: &str, _channel: AsyncChannel) -> Self
fn dispatch(name: &str, _channel: AsyncChannel) -> Self
Dispatches a connection attempt to this FIDL service’s member protocol
identified by
name
, producing an instance of this trait.Source§fn member_names() -> &'static [&'static str]
fn member_names() -> &'static [&'static str]
Returns an array of the service members’ names.
Auto Trait Implementations§
impl Freeze for BankAccountRequest
impl !RefUnwindSafe for BankAccountRequest
impl Send for BankAccountRequest
impl Sync for BankAccountRequest
impl Unpin for BankAccountRequest
impl !UnwindSafe for BankAccountRequest
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