pub struct BankAccountProxy(/* private fields */);
Expand description
A Service representing a BankAccount, with two views of the data: read-only, and read-write.
Implementations§
source§impl BankAccountProxy
impl BankAccountProxy
pub fn connect_to_read_only(&self) -> Result<ReadOnlyAccountProxy, Error>
sourcepub fn connect_channel_to_read_only(
&self,
server_end: ServerEnd<ReadOnlyAccountMarker>
) -> Result<(), Error>
pub fn connect_channel_to_read_only( &self, server_end: ServerEnd<ReadOnlyAccountMarker> ) -> Result<(), Error>
Like connect_to_read_only
, but accepts a server end.
pub fn connect_to_read_write(&self) -> Result<ReadWriteAccountProxy, Error>
sourcepub fn connect_channel_to_read_write(
&self,
server_end: ServerEnd<ReadWriteAccountMarker>
) -> Result<(), Error>
pub fn connect_channel_to_read_write( &self, server_end: ServerEnd<ReadWriteAccountMarker> ) -> Result<(), Error>
Like connect_to_read_write
, but accepts a server end.
Trait Implementations§
source§impl ServiceProxy for BankAccountProxy
impl ServiceProxy for BankAccountProxy
§type Service = BankAccountMarker
type Service = BankAccountMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for BankAccountProxy
impl !RefUnwindSafe for BankAccountProxy
impl !Send for BankAccountProxy
impl !Sync for BankAccountProxy
impl Unpin for BankAccountProxy
impl !UnwindSafe for BankAccountProxy
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