pub enum PartitionServiceRequest {
Volume(VolumeRequestStream),
Partition(PartitionRequestStream),
}
Expand description
A request for one of the member protocols of PartitionService.
Each partition exposes this service. The instance names are unique for each partition but otherwise have no special meaning. In practice they correspond to the index in the GPT.
Variants§
Volume(VolumeRequestStream)
Partition(PartitionRequestStream)
Trait Implementations§
Source§impl ServiceRequest for PartitionServiceRequest
impl ServiceRequest for PartitionServiceRequest
Source§type Service = PartitionServiceMarker
type Service = PartitionServiceMarker
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 PartitionServiceRequest
impl !RefUnwindSafe for PartitionServiceRequest
impl Send for PartitionServiceRequest
impl Sync for PartitionServiceRequest
impl Unpin for PartitionServiceRequest
impl !UnwindSafe for PartitionServiceRequest
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