Struct otter_api_tests::shapelib::MgmtChannel[][src]

pub struct MgmtChannel { /* fields omitted */ }

Implementations

impl MgmtChannel[src]

pub fn connect(socket_path: &str) -> Result<MgmtChannel, Error>[src]

pub fn new<U>(conn: U) -> Result<MgmtChannel, Error> where
    U: 'static + IoTryClone + Read + Write
[src]

pub fn read<T>(&mut self) -> Result<T, MgmtChannelReadError> where
    T: DeserializeOwned
[src]

pub fn write<T>(&mut self, val: &T) -> Result<(), Error> where
    T: Serialize
[src]

pub fn cmd(&mut self, cmd: &MgmtCommand) -> Result<MgmtResponse, Error>[src]

pub fn list_items(
    &mut self,
    pat: &ItemSpec
) -> Result<Vec<ItemEnquiryData, Global>, Error>
[src]

pub fn for_game(
    self,
    game: InstanceName,
    how: MgmtGameUpdateMode
) -> MgmtChannelForGame
[src]

Trait Implementations

impl Debug for MgmtChannel[src]

impl MgmtChannelExt for MgmtChannel[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<A> DynCastExt for A

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,