pub struct DatabaseService { /* private fields */ }
Trait Implementations
sourceimpl IClientObject for DatabaseService
impl IClientObject for DatabaseService
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 IDatabaseService for DatabaseService
impl IDatabaseService for DatabaseService
fn is_updated(&mut self, flag: SourceFlag) -> Result<bool>
fn is_full(&mut self) -> Result<bool>
fn get_count(&mut self, flag: SourceFlag) -> Result<u32>
fn get_1(
&mut self,
flag: SourceFlag,
out_char_infos: OutMapAliasBuffer<CharInfo>
) -> Result<u32>
fn build_random(
&mut self,
age: EnumAsPrimitiveType<Age, u32>,
gender: EnumAsPrimitiveType<Gender, u32>,
race: EnumAsPrimitiveType<Race, u32>
) -> Result<CharInfo>
fn sf_server_impl_is_updated(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_is_full(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_count(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_get_1(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn sf_server_impl_build_random(
&mut self,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
fn get_sf_command_metadata_table(&self) -> CommandMetadataTable
sourceimpl IObject for DatabaseService
impl IObject for DatabaseService
fn get_command_metadata_table(&self) -> CommandMetadataTable
fn call_self_server_command(
&mut self,
command_fn: CommandFn,
protocol: CommandProtocol,
ctx: &mut ServerContext<'_>
) -> Result<()>
Auto Trait Implementations
impl RefUnwindSafe for DatabaseService
impl Send for DatabaseService
impl Sync for DatabaseService
impl Unpin for DatabaseService
impl UnwindSafe for DatabaseService
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