pub struct SessionManager<I> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<I: Interface> SessionManager for SessionManager<I>
impl<I: Interface> SessionManager for SessionManager<I>
async fn on_attach_vmo(self: Arc<Self>, vmo: &Arc<Vmo>) -> Result<(), Status>
async fn open_session( self: Arc<Self>, stream: SessionRequestStream, block_size: u32, ) -> Result<(), Error>
Source§async fn get_info(&self) -> Result<Cow<'_, PartitionInfo>, Status>
async fn get_info(&self) -> Result<Cow<'_, PartitionInfo>, Status>
Called to get partition information for Partition::GetTypeGuid, etc.
Source§async fn get_volume_info(
&self,
) -> Result<(VolumeManagerInfo, VolumeInfo), Status>
async fn get_volume_info( &self, ) -> Result<(VolumeManagerInfo, VolumeInfo), Status>
Called to handle the GetVolumeInfo FIDL call.
Source§async fn query_slices(
&self,
start_slices: &[u64],
) -> Result<Vec<VsliceRange>, Status>
async fn query_slices( &self, start_slices: &[u64], ) -> Result<Vec<VsliceRange>, Status>
Called to handle the QuerySlices FIDL call.
Auto Trait Implementations§
impl<I> Freeze for SessionManager<I>
impl<I> RefUnwindSafe for SessionManager<I>where
I: RefUnwindSafe,
impl<I> Send for SessionManager<I>
impl<I> Sync for SessionManager<I>
impl<I> Unpin for SessionManager<I>
impl<I> UnwindSafe for SessionManager<I>where
I: RefUnwindSafe,
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