pub trait SysconfigLocalServerHandler<___T: Transport = Channel> {
// Required methods
fn read(
&mut self,
responder: Responder<Read, ___T>,
) -> impl Future<Output = ()>;
fn write(
&mut self,
request: Request<Write, ___T>,
responder: Responder<Write, ___T>,
) -> impl Future<Output = ()>;
fn get_partition_size(
&mut self,
responder: Responder<GetPartitionSize, ___T>,
) -> impl Future<Output = ()>;
fn flush(
&mut self,
responder: Responder<Flush, ___T>,
) -> impl Future<Output = ()>;
fn wipe(
&mut self,
responder: Responder<Wipe, ___T>,
) -> impl Future<Output = ()>;
}Expand description
A server handler for the Sysconfig protocol.
See Sysconfig for more details.
Required Methods§
Sourcefn read(&mut self, responder: Responder<Read, ___T>) -> impl Future<Output = ()>
fn read(&mut self, responder: Responder<Read, ___T>) -> impl Future<Output = ()>
Read from the sub-partition
Sourcefn write(
&mut self,
request: Request<Write, ___T>,
responder: Responder<Write, ___T>,
) -> impl Future<Output = ()>
fn write( &mut self, request: Request<Write, ___T>, responder: Responder<Write, ___T>, ) -> impl Future<Output = ()>
Writes to the sub-partition
Sourcefn get_partition_size(
&mut self,
responder: Responder<GetPartitionSize, ___T>,
) -> impl Future<Output = ()>
fn get_partition_size( &mut self, responder: Responder<GetPartitionSize, ___T>, ) -> impl Future<Output = ()>
Get sub-partition size.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".