pub struct SessionManager { /* private fields */ }
Trait Implementations§
Source§impl Drop for SessionManager
impl Drop for SessionManager
Source§impl SessionManager for SessionManager
impl SessionManager for SessionManager
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§fn get_volume_info(
&self,
) -> impl Future<Output = Result<(VolumeManagerInfo, VolumeInfo), Status>> + Send
fn get_volume_info( &self, ) -> impl Future<Output = Result<(VolumeManagerInfo, VolumeInfo), Status>> + Send
Called to handle the GetVolumeInfo FIDL call.
Source§fn query_slices(
&self,
_start_slices: &[u64],
) -> impl Future<Output = Result<Vec<VsliceRange>, Status>> + Send
fn query_slices( &self, _start_slices: &[u64], ) -> impl Future<Output = Result<Vec<VsliceRange>, Status>> + Send
Called to handle the QuerySlices FIDL call.
impl Send for SessionManager
impl Sync for SessionManager
Auto Trait Implementations§
impl !Freeze for SessionManager
impl RefUnwindSafe for SessionManager
impl Unpin for SessionManager
impl UnwindSafe for SessionManager
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