var searchIndex = {}; searchIndex["sbd"] = {"doc":"Parse and write Iridium Short Burst Data (SBD) messages.","items":[[0,"directip","sbd","Receive incoming Iridium messages through their Direct IP service.",null,null],[3,"Server","sbd::directip","A Iridium DirectIP server.",null,null],[11,"fmt","","",0,null],[11,"new","","Creates a new server that will listen on `addr` and write messages to `storage`.",0,{"inputs":[{"name":"a"},{"name":"s"}],"output":{"name":"server"}}],[11,"bind","","Binds this server to its tcp socket.",0,null],[11,"serve_forever","","Starts the DirectIP server and serves forever.",0,null],[0,"error","sbd","Error module.",null,null],[4,"Error","sbd::error","Crate-specific errors",null,null],[13,"Byteorder","","An error while reading bytes from a stream with the byteorder crate.",1,null],[13,"Io","","A wrapper around a `std::io::Error`.",1,null],[13,"InvalidImei","","Invalid IMEI number.",1,null],[13,"InvalidProtocolRevisionNumber","","Invalid protocol revision number.",1,null],[13,"MissingMobileOriginatedHeader","","Missing mobile originated header.",1,null],[13,"MissingMobileOriginatedPayload","","Missing mobile originated payload.",1,null],[13,"NotADirectory","","We expected a directory, but this isn't one.",1,null],[13,"Oversized","","An oversized message.",1,null],[13,"Undersized","","An undersized message.",1,null],[13,"UnhandledInformationElements","","Some information elements weren't handled during reading.",1,null],[13,"WalkDir","","Wrapper around `walkdir::Error`.",1,null],[11,"fmt","","",1,null],[11,"fmt","","",1,null],[11,"description","","",1,null],[11,"cause","","",1,null],[11,"from","","",1,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"from","","",1,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"from","","",1,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[0,"mo","sbd","Module for reading and writing Mobile-Originated (MO) SBD messages.",null,null],[3,"Message","sbd::mo","A mobile-origined Iridium SBD message.",null,null],[4,"SessionStatus","","The status of a mobile-originated session.",null,null],[13,"Ok","","The SBD session completed successfully.",2,null],[13,"OkMobileTerminatedTooLarge","","The MO message transfer, if any, was successful. The MT message queued at the GSS is too\nlarge to be transferred within a single SBD session.",2,null],[13,"OkLocationUnacceptableQuality","","The MO message transfer, if any, was successful. The reported location was determined to be\nof unacceptable quality. This value is only applicable to IMEIs using SBD protocol revision\n1.",2,null],[13,"Timeout","","The SBD session timed out before session completion.",2,null],[13,"MobileOriginatedTooLarge","","The MO message being transferred by the IMEI is too large to be transerred within a single\nSBD session.",2,null],[13,"RFLinkLoss","","An RF link loss ocurred during the SBD session.",2,null],[13,"IMEIProtocolAnomaly","","An IMEI protocol anomaly occurred during SBD session.",2,null],[13,"Prohibited","","The IMEI is prohibited from accessing the GSS.",2,null],[13,"Unknown","","Unknown session status code.",2,null],[11,"encode","","",2,null],[11,"eq","","",2,null],[11,"fmt","","",2,null],[11,"clone","","",2,null],[11,"default","","",2,{"inputs":[],"output":{"name":"sessionstatus"}}],[11,"from","","",2,{"inputs":[{"name":"u8"}],"output":{"name":"self"}}],[11,"eq","","",3,null],[11,"ne","","",3,null],[11,"fmt","","",3,null],[11,"clone","","",3,null],[11,"default","","",3,{"inputs":[],"output":{"name":"message"}}],[11,"partial_cmp","","",3,null],[11,"cmp","","",3,null],[11,"from_path","","Reads in a message from a file path.",3,{"inputs":[{"name":"p"}],"output":{"name":"result"}}],[11,"read_from","","Reads in a message from an object that implements `Read`.",3,{"inputs":[{"name":"r"}],"output":{"name":"result"}}],[11,"write_to","","Write this message back to a object that can `Write`.",3,null],[11,"protocol_revision_number","","Returns this message's protocol revision number.",3,null],[11,"imei","","Returns this message's IMEI number as a string.",3,null],[11,"cdr_reference","","Returns this message's cdr reference number (also called auto id).",3,null],[11,"session_status","","Returns this message's session status.",3,null],[11,"momsn","","Returns this message's mobile originated message number.",3,null],[11,"mtmsn","","Returns this message's mobile terminated message number.",3,null],[11,"time_of_session","","Returns this message's time of session.",3,null],[11,"payload_ref","","Returns a reference to this message's payload.",3,null],[0,"storage","sbd","SBD message storage.",null,null],[3,"FilesystemStorage","sbd::storage","A structure for managing storing and retriving SBD messages on a filesystem.",null,null],[3,"MemoryStorage","","A simple storage backend that saves the messages in memory.",null,null],[11,"fmt","","",4,null],[11,"open","","Opens a new storage for a given directory.",4,{"inputs":[{"name":"p"}],"output":{"name":"result"}}],[11,"iter","","Returns a `StorageIterator` over the messages in this storage.",4,null],[11,"store","","Stores a message on the filesystem.",4,null],[11,"fmt","","",5,null],[11,"new","","Creates a new memory storage.",5,{"inputs":[],"output":{"name":"storage"}}],[11,"messages","","Returns a reference to the underlying message vector.",5,null],[11,"store","","",5,null],[8,"Storage","","Trait for all backend SBD storages.",null,null],[10,"store","","Stores message in this storage.",6,null],[6,"Result","sbd","Create-specific `Result`.",null,null]],"paths":[[3,"Server"],[4,"Error"],[4,"SessionStatus"],[3,"Message"],[3,"FilesystemStorage"],[3,"MemoryStorage"],[8,"Storage"]]}; initSearch(searchIndex);