pub struct StorageAccessor { /* private fields */ }
Trait Implementations
sourceimpl IClientObject for StorageAccessor
impl IClientObject for StorageAccessor
fn new(session: Session) -> Self
fn get_session(&mut self) -> &mut Session
fn get_info(&mut self) -> ObjectInfo
fn set_info(&mut self, info: ObjectInfo)
fn convert_to_domain(&mut self) -> Result<()>
fn query_own_pointer_buffer_size(&mut self) -> Result<u16>
fn close_session(&mut self)
fn is_valid(&mut self) -> bool
fn is_domain(&mut self) -> bool
sourceimpl IObject for StorageAccessor
impl IObject for StorageAccessor
fn get_command_metadata_table(&self) -> CommandMetadataTable
fn call_self_server_command(
&mut self,
command_fn: CommandFn,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
sourceimpl IStorageAccessor for StorageAccessor
impl IStorageAccessor for StorageAccessor
fn get_size(&mut self) -> Result<usize>
fn write(&mut self, offset: usize, buf: InAutoSelectBuffer<u8>) -> Result<()>
fn read(&mut self, offset: usize, buf: OutAutoSelectBuffer<u8>) -> Result<()>
fn sf_server_impl_get_size(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_write(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_read(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn get_sf_command_metadata_table(&self) -> CommandMetadataTable
Auto Trait Implementations
impl RefUnwindSafe for StorageAccessor
impl Send for StorageAccessor
impl Sync for StorageAccessor
impl Unpin for StorageAccessor
impl UnwindSafe for StorageAccessor
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more