pub struct HikVisionIsapiClient { /* private fields */ }Expand description
A HikVision camera reached over ISAPI with HTTP Digest authentication.
Implementations§
Trait Implementations§
Source§impl CameraConfigProvider for HikVisionIsapiClient
impl CameraConfigProvider for HikVisionIsapiClient
Source§fn get_device_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<DeviceInfo>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_device_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<DeviceInfo>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Device identity (name/model/firmware/serial).
Source§fn list_video_configs<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<Vec<VideoConfig>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_video_configs<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<Vec<VideoConfig>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Every streaming channel’s video-encoding configuration (main + sub + any extras).
Source§fn get_video_config<'life0, 'async_trait>(
&'life0 self,
channel: u32,
) -> Pin<Box<dyn Future<Output = AppResult<VideoConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_video_config<'life0, 'async_trait>(
&'life0 self,
channel: u32,
) -> Pin<Box<dyn Future<Output = AppResult<VideoConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
One streaming channel’s video-encoding configuration (e.g.
101 main, 102 sub).Source§fn put_video_config<'life0, 'life1, 'async_trait>(
&'life0 self,
channel: u32,
cfg: &'life1 VideoConfig,
) -> Pin<Box<dyn Future<Output = AppResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn put_video_config<'life0, 'life1, 'async_trait>(
&'life0 self,
channel: u32,
cfg: &'life1 VideoConfig,
) -> Pin<Box<dyn Future<Output = AppResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Write a channel’s video-encoding configuration (read-modify-write of the device’s XML).
Source§fn get_time_config<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<TimeConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_time_config<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<TimeConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
The device clock configuration (mode/local-time/timezone).
Source§fn put_time_config<'life0, 'life1, 'async_trait>(
&'life0 self,
cfg: &'life1 TimeConfig,
) -> Pin<Box<dyn Future<Output = AppResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn put_time_config<'life0, 'life1, 'async_trait>(
&'life0 self,
cfg: &'life1 TimeConfig,
) -> Pin<Box<dyn Future<Output = AppResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Write the device clock configuration.
Source§fn get_ntp_config<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<NtpConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_ntp_config<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<NtpConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
The configured NTP server.
Source§fn put_ntp_config<'life0, 'life1, 'async_trait>(
&'life0 self,
cfg: &'life1 NtpConfig,
) -> Pin<Box<dyn Future<Output = AppResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn put_ntp_config<'life0, 'life1, 'async_trait>(
&'life0 self,
cfg: &'life1 NtpConfig,
) -> Pin<Box<dyn Future<Output = AppResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Write the NTP server.
Source§fn sync_time_now<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<TimeConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sync_time_now<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<TimeConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Switch the clock to NTP if it is currently in manual mode; returns the resulting clock config.
Source§fn get_onvif_settings<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<OnvifSettings>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_onvif_settings<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<OnvifSettings>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
The ONVIF/ISAPI integration toggles.
Source§fn put_onvif_settings<'life0, 'life1, 'async_trait>(
&'life0 self,
cfg: &'life1 OnvifSettings,
) -> Pin<Box<dyn Future<Output = AppResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn put_onvif_settings<'life0, 'life1, 'async_trait>(
&'life0 self,
cfg: &'life1 OnvifSettings,
) -> Pin<Box<dyn Future<Output = AppResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Write the ONVIF/ISAPI integration toggles.
Source§fn ensure_onvif_user<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
username: &'life1 str,
password: &'life2 str,
user_type: OnvifUserType,
) -> Pin<Box<dyn Future<Output = AppResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn ensure_onvif_user<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
username: &'life1 str,
password: &'life2 str,
user_type: OnvifUserType,
) -> Pin<Box<dyn Future<Output = AppResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Ensure a dedicated ONVIF user exists (create-if-absent; a duplicate create is treated as Ok).
Source§fn get_osd_config<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<OsdConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_osd_config<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<OsdConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
The on-screen-display (timestamp / channel-name) overlay configuration.
Auto Trait Implementations§
impl !RefUnwindSafe for HikVisionIsapiClient
impl !UnwindSafe for HikVisionIsapiClient
impl Freeze for HikVisionIsapiClient
impl Send for HikVisionIsapiClient
impl Sync for HikVisionIsapiClient
impl Unpin for HikVisionIsapiClient
impl UnsafeUnpin for HikVisionIsapiClient
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more