Struct fidl_fuchsia_paver::SysconfigProxy
source · pub struct SysconfigProxy { /* private fields */ }
Implementations§
source§impl SysconfigProxy
impl SysconfigProxy
sourcepub fn take_event_stream(&self) -> SysconfigEventStream
pub fn take_event_stream(&self) -> SysconfigEventStream
Get a Stream of events from the remote end of the protocol.
Panics
Panics if the event stream was already taken.
sourcepub fn read(&self) -> QueryResponseFut<SysconfigReadResult>
pub fn read(&self) -> QueryResponseFut<SysconfigReadResult>
Read from the sub-partition
sourcepub fn get_partition_size(
&self
) -> QueryResponseFut<SysconfigGetPartitionSizeResult>
pub fn get_partition_size( &self ) -> QueryResponseFut<SysconfigGetPartitionSizeResult>
Get sub-partition size.
Trait Implementations§
source§impl Clone for SysconfigProxy
impl Clone for SysconfigProxy
source§fn clone(&self) -> SysconfigProxy
fn clone(&self) -> SysconfigProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SysconfigProxy
impl Debug for SysconfigProxy
source§impl Proxy for SysconfigProxy
impl Proxy for SysconfigProxy
§type Protocol = SysconfigMarker
type Protocol = SysconfigMarker
The protocol which this
Proxy
controls.source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Create a proxy over the given channel.
source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Attempt to convert the proxy back into a channel. Read more
source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
Get a reference to the proxy’s underlying channel. Read more
source§impl SysconfigProxyInterface for SysconfigProxy
impl SysconfigProxyInterface for SysconfigProxy
type ReadResponseFut = QueryResponseFut<Result<Buffer, i32>>
fn read(&self) -> Self::ReadResponseFut
type WriteResponseFut = QueryResponseFut<i32>
fn write(&self, payload: Buffer) -> Self::WriteResponseFut
type GetPartitionSizeResponseFut = QueryResponseFut<Result<u64, i32>>
fn get_partition_size(&self) -> Self::GetPartitionSizeResponseFut
type FlushResponseFut = QueryResponseFut<i32>
fn flush(&self) -> Self::FlushResponseFut
type WipeResponseFut = QueryResponseFut<i32>
fn wipe(&self) -> Self::WipeResponseFut
Auto Trait Implementations§
impl !RefUnwindSafe for SysconfigProxy
impl Send for SysconfigProxy
impl Sync for SysconfigProxy
impl Unpin for SysconfigProxy
impl !UnwindSafe for SysconfigProxy
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