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_to_read_only_sync(
&self,
) -> Result<ReadOnlyAccountSynchronousProxy, Error>
pub fn connect_to_read_only_sync( &self, ) -> Result<ReadOnlyAccountSynchronousProxy, Error>
Like connect_to_read_only
, but returns a sync proxy.
See Self::connect_to_read_only
for more details.
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.
See Self::connect_to_read_only
for more details.
pub fn connect_to_read_write(&self) -> Result<ReadWriteAccountProxy, Error>
Sourcepub fn connect_to_read_write_sync(
&self,
) -> Result<ReadWriteAccountSynchronousProxy, Error>
pub fn connect_to_read_write_sync( &self, ) -> Result<ReadWriteAccountSynchronousProxy, Error>
Like connect_to_read_write
, but returns a sync proxy.
See Self::connect_to_read_write
for more details.
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.
See Self::connect_to_read_write
for more details.
Trait Implementations§
Source§impl ServiceProxy for BankAccountProxy
impl ServiceProxy for BankAccountProxy
Source§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